diff --git a/runtime/history/NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5.json b/runtime/history/NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5.json new file mode 100644 index 00000000..2d13d5ec --- /dev/null +++ b/runtime/history/NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5.json @@ -0,0 +1,38 @@ +{ + "schema_version": 1, + "channel": "homelab-runtime", + "command_id": "NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5", + "status": "OK", + "rc": 0, + "host": "pve01", + "mode": "read-only", + "component": "newfi-portal200-template-core-order-compact-rca", + "started_at_utc": "2026-09-07T21:12:57Z", + "finished_at_utc": "2026-09-07T21:13:07Z", + "reference_register_checked": true, + "reference_sha256": "5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66", + "error_register_checked": true, + "error_register_sha256": "3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0", + "command_sha256": "a248577aad05735aea22d9086779b52efe1cdd227e0beecfa77e1f8730bacce9", + "duplicate_failed_command_blocked": false, + "block_reason": null, + "execution_started": true, + "change_declared": false, + "result_contract_valid": true, + "result_contract_status": null, + "result_contract_error": null, + "command_rc": 0, + "changes_made": false, + "rollback_started": false, + "rollback_restored": null, + "mutation_outcome": "NO_MUTATION", + "sanitized": true, + "secrets_included": false, + "private_addresses_included": false, + "raw_evidence_retained_locally": true, + "raw_evidence_sha256": "511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f", + "sanitized_output_sha256": "511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f", + "output_truncated_in_json": false, + "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", + "output": "RCA5_BEGIN=true\nCOMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5\nMUTATION_SCOPE=NONE_READ_ONLY\nMUTATIONS_PERFORMED=NO\nERROR_REGISTER_CHECK=OK\nERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0\nREFERENCE_CHECK=OK\nREFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66\nAUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED\nRCA4_HISTORY_SHA256=0c3318ac2149f3d9d5bd644cd9e06c48b4dddffc1685546287d6324c23217923\nRCA4_STATUS=OK\nRCA4_FINAL_DECISION=RCA4_COMPLETE_NO_MUTATION_TEMPLATE_XML_IDENTITY_READY\nGIT_HEAD={\"err\":\"\",\"out\":\"06bab5acd124e768f70305b3d7eca2f595871890\",\"rc\":0}\nGIT_STATUS={\"err\":\"\",\"out\":\"\",\"rc\":0}\nGIT_REMOTE_HEAD=06bab5acd124e768f70305b3d7eca2f595871890\nCANDIDATE_XML_SHA256=1650c3d868d4bc47703f1b75f1f179cd25309b2d3b20a2b848e81a4423c00861\nCANDIDATE_CHILDREN_COMPACT=[{\"i\":0,\"style_id\":\"0\",\"tag\":\"template\",\"text_bytes\":7027,\"text_sha256\":\"2a7b332223b7fb0af18cfb9659d1698603faa79d5d0f63c49359dd6a1c8fbf7a\",\"title\":\"newfi_portal\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"},{\"i\":1,\"style_id\":\"0\",\"tag\":\"template\",\"text_bytes\":3634,\"text_sha256\":\"25b1dc49e89ef7615a11cd1023876c4ab9b5f96f90b1fca52a4815bb5992fbe8\",\"title\":\"newfi_portal.less\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"}]\nCANDIDATE_DUPLICATE_IDENTITY_KEYS={}\nTEMPLATE_IMPORT_LINES={\"err\":\"\",\"lines\":[{\"n\":70,\"s\":\"else\"},{\"n\":71,\"s\":\"{\"},{\"n\":72,\"s\":\"$existing = [];\"},{\"n\":73,\"s\":\"}\"},{\"n\":74,\"s\":\"\"},{\"n\":75,\"s\":\"$i = 0;\"},{\"n\":76,\"s\":\"$last = 0;\"},{\"n\":77,\"s\":\"\"},{\"n\":78,\"s\":\"foreach ($entries AS $entry)\"},{\"n\":79,\"s\":\"{\"},{\"n\":80,\"s\":\"$i++;\"},{\"n\":81,\"s\":\"\"},{\"n\":82,\"s\":\"if ($i <= $start)\"},{\"n\":83,\"s\":\"{\"},{\"n\":84,\"s\":\"continue;\"},{\"n\":85,\"s\":\"}\"},{\"n\":86,\"s\":\"\"},{\"n\":87,\"s\":\"$type = (string) $entry['type'];\"},{\"n\":88,\"s\":\"$title = (string) $entry['title'];\"},{\"n\":89,\"s\":\"$entity = $existing[$type][$title] ?? $this->create();\"},{\"n\":90,\"s\":\"$entity->setOption('check_duplicate', false);\"},{\"n\":91,\"s\":\"$entity->setOption('report_modification_errors', false);\"},{\"n\":92,\"s\":\"$entity->getBehavior(DevOutputWritable::class)->setOption('write_dev_output', false);\"},{\"n\":93,\"s\":\"\"},{\"n\":94,\"s\":\"$this->importMappedAttributes($entry, $entity);\"},{\"n\":95,\"s\":\"$entity->style_id = 0;\"},{\"n\":96,\"s\":\"$entity->template = $this->getCdataValue($entry);\"},{\"n\":97,\"s\":\"$entity->addon_id = $addOnId;\"},{\"n\":98,\"s\":\"$entity->save(true, false);\"},{\"n\":99,\"s\":\"\"},{\"n\":100,\"s\":\"\\\\XF::dequeueRunOnce('styleLastModifiedDate');\"},{\"n\":101,\"s\":\"\"},{\"n\":102,\"s\":\"if ($this->resume($maxRunTime, $startTime))\"},{\"n\":103,\"s\":\"{\"},{\"n\":104,\"s\":\"$last = $i;\"},{\"n\":105,\"s\":\"break;\"},{\"n\":106,\"s\":\"}\"},{\"n\":107,\"s\":\"}\"},{\"n\":108,\"s\":\"return ($last ?: false);\"},{\"n\":109,\"s\":\"}\"},{\"n\":110,\"s\":\"\"}],\"path\":\"/var/www/forums/newfi/public/src/XF/AddOn/DataType/Template.php\",\"rc\":0}\nABSTRACT_IMPORT_LINES={\"err\":\"\",\"lines\":[{\"n\":255,\"s\":\"foreach ($this->getMappedAttributes() AS $attr)\"},{\"n\":256,\"s\":\"{\"},{\"n\":257,\"s\":\"if (in_array($attr, $maintained))\"},{\"n\":258,\"s\":\"{\"},{\"n\":259,\"s\":\"continue;\"},{\"n\":260,\"s\":\"}\"},{\"n\":261,\"s\":\"\"},{\"n\":262,\"s\":\"if (self::USE_AUTO_CDATA)\"},{\"n\":263,\"s\":\"{\"},{\"n\":264,\"s\":\"if (isset($el[$attr]))\"},{\"n\":265,\"s\":\"{\"},{\"n\":266,\"s\":\"$entity->$attr = (string) $el[$attr];\"},{\"n\":267,\"s\":\"}\"},{\"n\":268,\"s\":\"else if (isset($el->{$attr}))\"},{\"n\":269,\"s\":\"{\"},{\"n\":270,\"s\":\"$entity->$attr = (string) $el->{$attr};\"},{\"n\":271,\"s\":\"}\"},{\"n\":272,\"s\":\"}\"},{\"n\":273,\"s\":\"else\"},{\"n\":274,\"s\":\"{\"},{\"n\":275,\"s\":\"$entity->$attr = (string) $el[$attr];\"},{\"n\":276,\"s\":\"}\"},{\"n\":277,\"s\":\"}\"},{\"n\":278,\"s\":\"}\"},{\"n\":279,\"s\":\"\"},{\"n\":280,\"s\":\"protected function pluckXmlAttribute(\\\\SimpleXMLElement $els, $key)\"},{\"n\":281,\"s\":\"{\"},{\"n\":282,\"s\":\"$values = [];\"},{\"n\":283,\"s\":\"$i = 0;\"},{\"n\":284,\"s\":\"foreach ($els AS $el)\"},{\"n\":285,\"s\":\"{\"}],\"path\":\"/var/www/forums/newfi/public/src/XF/AddOn/DataType/AbstractDataType.php\",\"rc\":0}\nENTITY_SET_LINES={\"err\":\"\",\"lines\":[{\"n\":630,\"s\":\"throw new \\\\LogicException(\\\"Entity is read only\\\");\"},{\"n\":631,\"s\":\"}\"},{\"n\":632,\"s\":\"\"},{\"n\":633,\"s\":\"if ($this->_deleted)\"},{\"n\":634,\"s\":\"{\"},{\"n\":635,\"s\":\"throw new \\\\LogicException(\\\"Attempted to set '$key' on a deleted entity\\\");\"},{\"n\":636,\"s\":\"}\"},{\"n\":637,\"s\":\"\"},{\"n\":638,\"s\":\"if ($this->_writePending == 'delete')\"},{\"n\":639,\"s\":\"{\"},{\"n\":640,\"s\":\"throw new \\\\LogicException(\\\"Attempted to set '$key' while a deletion was pending\\\");\"},{\"n\":641,\"s\":\"}\"},{\"n\":642,\"s\":\"\"},{\"n\":643,\"s\":\"if ($this->_writePending && empty($options['forceSet']))\"},{\"n\":644,\"s\":\"{\"},{\"n\":645,\"s\":\"throw new \\\\LogicException(\\\"Attempted to set '$key' while a save was pending without forceSet\\\");\"},{\"n\":646,\"s\":\"}\"},{\"n\":647,\"s\":\"\"},{\"n\":648,\"s\":\"if (!isset($this->_structure->columns[$key]))\"},{\"n\":649,\"s\":\"{\"},{\"n\":650,\"s\":\"if (empty($options['skipInvalid']))\"}],\"path\":\"/var/www/forums/newfi/public/src/XF/Mvc/Entity/Entity.php\",\"rc\":0}\nTEMPLATE_IMPORT_CALL_ORDER_GREP={\"err\":\"\",\"lines\":[\"17:\\t\\treturn 'templates';\",\"22:\\t\\treturn 'template';\",\"30:\\t\\t\\t->order(['type', 'title'])->fetch();\",\"36:\\t\\t\\t$this->exportCdata($node, $entry->template);\",\"44:\\tpublic function importAddOnData($addOnId, \\\\SimpleXMLElement $container, $start = 0, $maxRunTime = 0)\",\"58:\\t\\t\\t\\t'type' => (string) $entry['type'],\",\"59:\\t\\t\\t\\t'title' => (string) $entry['title'],\",\"68:\\t\\t\\t\\t->groupBy('type', 'title');\",\"87:\\t\\t\\t$type = (string) $entry['type'];\",\"88:\\t\\t\\t$title = (string) $entry['title'];\",\"89:\\t\\t\\t$entity = $existing[$type][$title] ?? $this->create();\",\"94:\\t\\t\\t$this->importMappedAttributes($entry, $entity);\",\"96:\\t\\t\\t$entity->template = $this->getCdataValue($entry);\",\"98:\\t\\t\\t$entity->save(true, false);\",\"113:\\t\\t$existing = $this->findAllForType($addOnId)->where('style_id', 0)->fetch()->groupBy('type', 'title');\",\"125:\\t\\t\\t$type = $attributes['type'];\",\"126:\\t\\t\\t$title = $attributes['title'];\",\"128:\\t\\t\\tif (isset($existing[$type][$title]))\",\"130:\\t\\t\\t\\tunset($existing[$type][$title]);\",\"159:\\t\\t\\t'type',\",\"160:\\t\\t\\t'title',\"],\"rc\":0}\nDB_SCHEMAS=[\"xf_newfi\"]\nXF_TEMPLATE_INDEXES={\"err\":\"\",\"rc\":0,\"rows\":[\"xf_template\\t0\\tPRIMARY\\t1\\ttemplate_id\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t1\\ttype\\tA\\t6\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t2\\ttitle\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t3\\tstyle_id\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\"]}\nCURRENT_TEMPLATE_ROWS={\"err\":\"\",\"rc\":0,\"rows\":[\"1610\\t0\\tpublic\\tnewfi_portal\\tNewfi/Portal\\t1f484c8cf6bdeda8fda2974abf8a57f8cc7453fe2a779af7c735afa3b73aa741\"]}\nFINAL_DECISION=RCA5_COMPLETE_NO_MUTATION_CORE_IMPORT_ORDER_COMPACT_READY\nRCA5_END=true\n" +} diff --git a/runtime/history/NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5.txt b/runtime/history/NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5.txt new file mode 100644 index 00000000..9fdc5400 --- /dev/null +++ b/runtime/history/NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5.txt @@ -0,0 +1,59 @@ +CHAT_OUTPUT_BEGIN +COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5 +STATUS=OK +RC=0 +HOST=pve01 +MODE=read-only +COMPONENT=newfi-portal200-template-core-order-compact-rca +REFERENCE_REGISTER_CHECK=OK +REFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66 +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0 +COMMAND_SHA256=a248577aad05735aea22d9086779b52efe1cdd227e0beecfa77e1f8730bacce9 +DUPLICATE_FAILED_COMMAND_BLOCKED=false +EXECUTION_STARTED=true +CHANGE_DECLARED=false +RESULT_CONTRACT_VALID=true +RESULT_CONTRACT_STATUS=NOT_APPLICABLE +RESULT_CONTRACT_ERROR=NONE +COMMAND_RC=0 +CHANGES_MADE=false +ROLLBACK_STARTED=false +ROLLBACK_RESTORED=null +MUTATION_OUTCOME=NO_MUTATION +SANITIZED=yes +SECRETS_INCLUDED=no +PRIVATE_ADDRESSES_INCLUDED=no +RAW_EVIDENCE_SHA256=511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f +SANITIZED_OUTPUT_SHA256=511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f +OUTPUT_BEGIN +RCA5_BEGIN=true +COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5 +MUTATION_SCOPE=NONE_READ_ONLY +MUTATIONS_PERFORMED=NO +ERROR_REGISTER_CHECK=OK +ERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0 +REFERENCE_CHECK=OK +REFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66 +AUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED +RCA4_HISTORY_SHA256=0c3318ac2149f3d9d5bd644cd9e06c48b4dddffc1685546287d6324c23217923 +RCA4_STATUS=OK +RCA4_FINAL_DECISION=RCA4_COMPLETE_NO_MUTATION_TEMPLATE_XML_IDENTITY_READY +GIT_HEAD={"err":"","out":"06bab5acd124e768f70305b3d7eca2f595871890","rc":0} +GIT_STATUS={"err":"","out":"","rc":0} +GIT_REMOTE_HEAD=06bab5acd124e768f70305b3d7eca2f595871890 +CANDIDATE_XML_SHA256=1650c3d868d4bc47703f1b75f1f179cd25309b2d3b20a2b848e81a4423c00861 +CANDIDATE_CHILDREN_COMPACT=[{"i":0,"style_id":"0","tag":"template","text_bytes":7027,"text_sha256":"2a7b332223b7fb0af18cfb9659d1698603faa79d5d0f63c49359dd6a1c8fbf7a","title":"newfi_portal","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"},{"i":1,"style_id":"0","tag":"template","text_bytes":3634,"text_sha256":"25b1dc49e89ef7615a11cd1023876c4ab9b5f96f90b1fca52a4815bb5992fbe8","title":"newfi_portal.less","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"}] +CANDIDATE_DUPLICATE_IDENTITY_KEYS={} +TEMPLATE_IMPORT_LINES={"err":"","lines":[{"n":70,"s":"else"},{"n":71,"s":"{"},{"n":72,"s":"$existing = [];"},{"n":73,"s":"}"},{"n":74,"s":""},{"n":75,"s":"$i = 0;"},{"n":76,"s":"$last = 0;"},{"n":77,"s":""},{"n":78,"s":"foreach ($entries AS $entry)"},{"n":79,"s":"{"},{"n":80,"s":"$i++;"},{"n":81,"s":""},{"n":82,"s":"if ($i <= $start)"},{"n":83,"s":"{"},{"n":84,"s":"continue;"},{"n":85,"s":"}"},{"n":86,"s":""},{"n":87,"s":"$type = (string) $entry['type'];"},{"n":88,"s":"$title = (string) $entry['title'];"},{"n":89,"s":"$entity = $existing[$type][$title] ?? $this->create();"},{"n":90,"s":"$entity->setOption('check_duplicate', false);"},{"n":91,"s":"$entity->setOption('report_modification_errors', false);"},{"n":92,"s":"$entity->getBehavior(DevOutputWritable::class)->setOption('write_dev_output', false);"},{"n":93,"s":""},{"n":94,"s":"$this->importMappedAttributes($entry, $entity);"},{"n":95,"s":"$entity->style_id = 0;"},{"n":96,"s":"$entity->template = $this->getCdataValue($entry);"},{"n":97,"s":"$entity->addon_id = $addOnId;"},{"n":98,"s":"$entity->save(true, false);"},{"n":99,"s":""},{"n":100,"s":"\\XF::dequeueRunOnce('styleLastModifiedDate');"},{"n":101,"s":""},{"n":102,"s":"if ($this->resume($maxRunTime, $startTime))"},{"n":103,"s":"{"},{"n":104,"s":"$last = $i;"},{"n":105,"s":"break;"},{"n":106,"s":"}"},{"n":107,"s":"}"},{"n":108,"s":"return ($last ?: false);"},{"n":109,"s":"}"},{"n":110,"s":""}],"path":"/var/www/forums/newfi/public/src/XF/AddOn/DataType/Template.php","rc":0} +ABSTRACT_IMPORT_LINES={"err":"","lines":[{"n":255,"s":"foreach ($this->getMappedAttributes() AS $attr)"},{"n":256,"s":"{"},{"n":257,"s":"if (in_array($attr, $maintained))"},{"n":258,"s":"{"},{"n":259,"s":"continue;"},{"n":260,"s":"}"},{"n":261,"s":""},{"n":262,"s":"if (self::USE_AUTO_CDATA)"},{"n":263,"s":"{"},{"n":264,"s":"if (isset($el[$attr]))"},{"n":265,"s":"{"},{"n":266,"s":"$entity->$attr = (string) $el[$attr];"},{"n":267,"s":"}"},{"n":268,"s":"else if (isset($el->{$attr}))"},{"n":269,"s":"{"},{"n":270,"s":"$entity->$attr = (string) $el->{$attr};"},{"n":271,"s":"}"},{"n":272,"s":"}"},{"n":273,"s":"else"},{"n":274,"s":"{"},{"n":275,"s":"$entity->$attr = (string) $el[$attr];"},{"n":276,"s":"}"},{"n":277,"s":"}"},{"n":278,"s":"}"},{"n":279,"s":""},{"n":280,"s":"protected function pluckXmlAttribute(\\SimpleXMLElement $els, $key)"},{"n":281,"s":"{"},{"n":282,"s":"$values = [];"},{"n":283,"s":"$i = 0;"},{"n":284,"s":"foreach ($els AS $el)"},{"n":285,"s":"{"}],"path":"/var/www/forums/newfi/public/src/XF/AddOn/DataType/AbstractDataType.php","rc":0} +ENTITY_SET_LINES={"err":"","lines":[{"n":630,"s":"throw new \\LogicException(\"Entity is read only\");"},{"n":631,"s":"}"},{"n":632,"s":""},{"n":633,"s":"if ($this->_deleted)"},{"n":634,"s":"{"},{"n":635,"s":"throw new \\LogicException(\"Attempted to set '$key' on a deleted entity\");"},{"n":636,"s":"}"},{"n":637,"s":""},{"n":638,"s":"if ($this->_writePending == 'delete')"},{"n":639,"s":"{"},{"n":640,"s":"throw new \\LogicException(\"Attempted to set '$key' while a deletion was pending\");"},{"n":641,"s":"}"},{"n":642,"s":""},{"n":643,"s":"if ($this->_writePending && empty($options['forceSet']))"},{"n":644,"s":"{"},{"n":645,"s":"throw new \\LogicException(\"Attempted to set '$key' while a save was pending without forceSet\");"},{"n":646,"s":"}"},{"n":647,"s":""},{"n":648,"s":"if (!isset($this->_structure->columns[$key]))"},{"n":649,"s":"{"},{"n":650,"s":"if (empty($options['skipInvalid']))"}],"path":"/var/www/forums/newfi/public/src/XF/Mvc/Entity/Entity.php","rc":0} +TEMPLATE_IMPORT_CALL_ORDER_GREP={"err":"","lines":["17:\t\treturn 'templates';","22:\t\treturn 'template';","30:\t\t\t->order(['type', 'title'])->fetch();","36:\t\t\t$this->exportCdata($node, $entry->template);","44:\tpublic function importAddOnData($addOnId, \\SimpleXMLElement $container, $start = 0, $maxRunTime = 0)","58:\t\t\t\t'type' => (string) $entry['type'],","59:\t\t\t\t'title' => (string) $entry['title'],","68:\t\t\t\t->groupBy('type', 'title');","87:\t\t\t$type = (string) $entry['type'];","88:\t\t\t$title = (string) $entry['title'];","89:\t\t\t$entity = $existing[$type][$title] ?? $this->create();","94:\t\t\t$this->importMappedAttributes($entry, $entity);","96:\t\t\t$entity->template = $this->getCdataValue($entry);","98:\t\t\t$entity->save(true, false);","113:\t\t$existing = $this->findAllForType($addOnId)->where('style_id', 0)->fetch()->groupBy('type', 'title');","125:\t\t\t$type = $attributes['type'];","126:\t\t\t$title = $attributes['title'];","128:\t\t\tif (isset($existing[$type][$title]))","130:\t\t\t\tunset($existing[$type][$title]);","159:\t\t\t'type',","160:\t\t\t'title',"],"rc":0} +DB_SCHEMAS=["xf_newfi"] +XF_TEMPLATE_INDEXES={"err":"","rc":0,"rows":["xf_template\t0\tPRIMARY\t1\ttemplate_id\tA\t1307\tNULL\tNULL\t\tBTREE\t\t\tNO","xf_template\t0\ttype_title_style_id\t1\ttype\tA\t6\tNULL\tNULL\t\tBTREE\t\t\tNO","xf_template\t0\ttype_title_style_id\t2\ttitle\tA\t1307\tNULL\tNULL\t\tBTREE\t\t\tNO","xf_template\t0\ttype_title_style_id\t3\tstyle_id\tA\t1307\tNULL\tNULL\t\tBTREE\t\t\tNO"]} +CURRENT_TEMPLATE_ROWS={"err":"","rc":0,"rows":["1610\t0\tpublic\tnewfi_portal\tNewfi/Portal\t1f484c8cf6bdeda8fda2974abf8a57f8cc7453fe2a779af7c735afa3b73aa741"]} +FINAL_DECISION=RCA5_COMPLETE_NO_MUTATION_CORE_IMPORT_ORDER_COMPACT_READY +RCA5_END=true + +OUTPUT_END +CHAT_OUTPUT_END diff --git a/runtime/latest.json b/runtime/latest.json index 63bfd21a..2d13d5ec 100644 --- a/runtime/latest.json +++ b/runtime/latest.json @@ -1,19 +1,19 @@ { "schema_version": 1, "channel": "homelab-runtime", - "command_id": "NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA4", + "command_id": "NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5", "status": "OK", "rc": 0, "host": "pve01", "mode": "read-only", - "component": "newfi-portal200-template-xml-identity-rca", - "started_at_utc": "2026-09-07T21:10:02Z", - "finished_at_utc": "2026-09-07T21:10:11Z", + "component": "newfi-portal200-template-core-order-compact-rca", + "started_at_utc": "2026-09-07T21:12:57Z", + "finished_at_utc": "2026-09-07T21:13:07Z", "reference_register_checked": true, "reference_sha256": "5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66", "error_register_checked": true, "error_register_sha256": "3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0", - "command_sha256": "9b6f4c92659c19cb522d4719f9ac033a5bceb5e296d0a89a5178445ecb026830", + "command_sha256": "a248577aad05735aea22d9086779b52efe1cdd227e0beecfa77e1f8730bacce9", "duplicate_failed_command_blocked": false, "block_reason": null, "execution_started": true, @@ -30,9 +30,9 @@ "secrets_included": false, "private_addresses_included": false, "raw_evidence_retained_locally": true, - "raw_evidence_sha256": "29e0b6a70556c30e1c73228374ac86237c2eeb7802259adbc2244808b3ea7286", - "sanitized_output_sha256": "29e0b6a70556c30e1c73228374ac86237c2eeb7802259adbc2244808b3ea7286", + "raw_evidence_sha256": "511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f", + "sanitized_output_sha256": "511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f", "output_truncated_in_json": false, "full_sanitized_output_url": "https://git.gram1.ru/.well-known/homelab-runtime/latest.txt", - "output": "RCA4_BEGIN=true\nCOMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA4\nMUTATION_SCOPE=NONE_READ_ONLY\nMUTATIONS_PERFORMED=NO\nERROR_REGISTER_CHECK=OK\nERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0\nREFERENCE_CHECK=OK\nREFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66\nAUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED\nRCA3_HISTORY_SHA256=aeb3162f7a87befd97027356392532d316603a84d991300c258dcc47254b8729\nRCA3_STATUS=OK\nRCA3_FINAL_DECISION=RCA3_COMPLETE_NO_MUTATION_TEMPLATE_ENTITY_EXTENSION_AND_IMPORT_ORDER_READY\nGIT_HEAD={\"err\":\"\",\"out\":\"06bab5acd124e768f70305b3d7eca2f595871890\",\"rc\":0}\nGIT_STATUS={\"err\":\"\",\"out\":\"\",\"rc\":0}\nGIT_REMOTE_HEAD=06bab5acd124e768f70305b3d7eca2f595871890\nBASELINE_XML_IDENTITY={\"bytes\":1461,\"children\":[{\"attrib\":{\"title\":\"newfi_portal\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"},\"i\":0,\"style_id\":\"0\",\"tag\":\"template\",\"text_bytes\":1274,\"text_sha256\":\"1f484c8cf6bdeda8fda2974abf8a57f8cc7453fe2a779af7c735afa3b73aa741\",\"title\":\"newfi_portal\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"}],\"duplicate_identity_keys\":{},\"label\":\"baseline\",\"root_tag\":\"templates\",\"sha256\":\"c29c04f8b937284e821c87957653e87c2f6ac014fac30648a0f6b18e84392adf\"}\nCANDIDATE_XML_IDENTITY={\"bytes\":10977,\"children\":[{\"attrib\":{\"title\":\"newfi_portal\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"},\"i\":0,\"style_id\":\"0\",\"tag\":\"template\",\"text_bytes\":7027,\"text_sha256\":\"2a7b332223b7fb0af18cfb9659d1698603faa79d5d0f63c49359dd6a1c8fbf7a\",\"title\":\"newfi_portal\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"},{\"attrib\":{\"title\":\"newfi_portal.less\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"},\"i\":1,\"style_id\":\"0\",\"tag\":\"template\",\"text_bytes\":3634,\"text_sha256\":\"25b1dc49e89ef7615a11cd1023876c4ab9b5f96f90b1fca52a4815bb5992fbe8\",\"title\":\"newfi_portal.less\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"}],\"duplicate_identity_keys\":{},\"label\":\"candidate\",\"root_tag\":\"templates\",\"sha256\":\"1650c3d868d4bc47703f1b75f1f179cd25309b2d3b20a2b848e81a4423c00861\"}\nDB_SCHEMAS=[\"xf_newfi\"]\nXF_TEMPLATE_INDEXES={\"err\":\"\",\"rc\":0,\"rows\":[\"xf_template\\t0\\tPRIMARY\\t1\\ttemplate_id\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t1\\ttype\\tA\\t6\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t2\\ttitle\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t3\\tstyle_id\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\"]}\nCURRENT_TEMPLATE_ROWS={\"err\":\"\",\"rc\":0,\"rows\":[\"1610\\t0\\tpublic\\tnewfi_portal\\tNewfi/Portal\\t1f484c8cf6bdeda8fda2974abf8a57f8cc7453fe2a779af7c735afa3b73aa741\"]}\nTEMPLATE_IMPORT_LINES_70_110={\"err\":\"\",\"rc\":0,\"text\":\" 70\\t\\t\\telse\\n 71\\t\\t\\t{\\n 72\\t\\t\\t\\t$existing = [];\\n 73\\t\\t\\t}\\n 74\\t\\n 75\\t\\t\\t$i = 0;\\n 76\\t\\t\\t$last = 0;\\n 77\\t\\n 78\\t\\t\\tforeach ($entries AS $entry)\\n 79\\t\\t\\t{\\n 80\\t\\t\\t\\t$i++;\\n 81\\t\\n 82\\t\\t\\t\\tif ($i <= $start)\\n 83\\t\\t\\t\\t{\\n 84\\t\\t\\t\\t\\tcontinue;\\n 85\\t\\t\\t\\t}\\n 86\\t\\n 87\\t\\t\\t\\t$type = (string) $entry['type'];\\n 88\\t\\t\\t\\t$title = (string) $entry['title'];\\n 89\\t\\t\\t\\t$entity = $existing[$type][$title] ?? $this->create();\\n 90\\t\\t\\t\\t$entity->setOption('check_duplicate', false);\\n 91\\t\\t\\t\\t$entity->setOption('report_modification_errors', false);\\n 92\\t\\t\\t\\t$entity->getBehavior(DevOutputWritable::class)->setOption('write_dev_output', false);\\n 93\\t\\n 94\\t\\t\\t\\t$this->importMappedAttributes($entry, $entity);\\n 95\\t\\t\\t\\t$entity->style_id = 0;\\n 96\\t\\t\\t\\t$entity->template = $this->getCdataValue($entry);\\n 97\\t\\t\\t\\t$entity->addon_id = $addOnId;\\n 98\\t\\t\\t\\t$entity->save(true, false);\\n 99\\t\\n 100\\t\\t\\t\\t\\\\XF::dequeueRunOnce('styleLastModifiedDate');\\n 101\\t\\n 102\\t\\t\\t\\tif ($this->resume($maxRunTime, $startTime))\\n 103\\t\\t\\t\\t{\\n 104\\t\\t\\t\\t\\t$last = $i;\\n 105\\t\\t\\t\\t\\tbreak;\\n 106\\t\\t\\t\\t}\\n 107\\t\\t\\t}\\n 108\\t\\t\\treturn ($last ?: false);\\n 109\\t\\t}\\n 110\\t\\n\"}\nABSTRACT_IMPORT_LINES_255_285={\"err\":\"\",\"rc\":0,\"text\":\" 255\\t\\t\\tforeach ($this->getMappedAttributes() AS $attr)\\n 256\\t\\t\\t{\\n 257\\t\\t\\t\\tif (in_array($attr, $maintained))\\n 258\\t\\t\\t\\t{\\n 259\\t\\t\\t\\t\\tcontinue;\\n 260\\t\\t\\t\\t}\\n 261\\t\\n 262\\t\\t\\t\\tif (self::USE_AUTO_CDATA)\\n 263\\t\\t\\t\\t{\\n 264\\t\\t\\t\\t\\tif (isset($el[$attr]))\\n 265\\t\\t\\t\\t\\t{\\n 266\\t\\t\\t\\t\\t\\t$entity->$attr = (string) $el[$attr];\\n 267\\t\\t\\t\\t\\t}\\n 268\\t\\t\\t\\t\\telse if (isset($el->{$attr}))\\n 269\\t\\t\\t\\t\\t{\\n 270\\t\\t\\t\\t\\t\\t$entity->$attr = (string) $el->{$attr};\\n 271\\t\\t\\t\\t\\t}\\n 272\\t\\t\\t\\t}\\n 273\\t\\t\\t\\telse\\n 274\\t\\t\\t\\t{\\n 275\\t\\t\\t\\t\\t$entity->$attr = (string) $el[$attr];\\n 276\\t\\t\\t\\t}\\n 277\\t\\t\\t}\\n 278\\t\\t}\\n 279\\t\\n 280\\t\\tprotected function pluckXmlAttribute(\\\\SimpleXMLElement $els, $key)\\n 281\\t\\t{\\n 282\\t\\t\\t$values = [];\\n 283\\t\\t\\t$i = 0;\\n 284\\t\\t\\tforeach ($els AS $el)\\n 285\\t\\t\\t{\\n\"}\nENTITY_SET_LINES_630_650={\"err\":\"\",\"rc\":0,\"text\":\" 630\\t\\t\\t\\tthrow new \\\\LogicException(\\\"Entity is read only\\\");\\n 631\\t\\t\\t}\\n 632\\t\\n 633\\t\\t\\tif ($this->_deleted)\\n 634\\t\\t\\t{\\n 635\\t\\t\\t\\tthrow new \\\\LogicException(\\\"Attempted to set '$key' on a deleted entity\\\");\\n 636\\t\\t\\t}\\n 637\\t\\n 638\\t\\t\\tif ($this->_writePending == 'delete')\\n 639\\t\\t\\t{\\n 640\\t\\t\\t\\tthrow new \\\\LogicException(\\\"Attempted to set '$key' while a deletion was pending\\\");\\n 641\\t\\t\\t}\\n 642\\t\\n 643\\t\\t\\tif ($this->_writePending && empty($options['forceSet']))\\n 644\\t\\t\\t{\\n 645\\t\\t\\t\\tthrow new \\\\LogicException(\\\"Attempted to set '$key' while a save was pending without forceSet\\\");\\n 646\\t\\t\\t}\\n 647\\t\\n 648\\t\\t\\tif (!isset($this->_structure->columns[$key]))\\n 649\\t\\t\\t{\\n 650\\t\\t\\t\\tif (empty($options['skipInvalid']))\\n\"}\nFINAL_DECISION=RCA4_COMPLETE_NO_MUTATION_TEMPLATE_XML_IDENTITY_READY\nRCA4_END=true\n" + "output": "RCA5_BEGIN=true\nCOMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5\nMUTATION_SCOPE=NONE_READ_ONLY\nMUTATIONS_PERFORMED=NO\nERROR_REGISTER_CHECK=OK\nERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0\nREFERENCE_CHECK=OK\nREFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66\nAUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED\nRCA4_HISTORY_SHA256=0c3318ac2149f3d9d5bd644cd9e06c48b4dddffc1685546287d6324c23217923\nRCA4_STATUS=OK\nRCA4_FINAL_DECISION=RCA4_COMPLETE_NO_MUTATION_TEMPLATE_XML_IDENTITY_READY\nGIT_HEAD={\"err\":\"\",\"out\":\"06bab5acd124e768f70305b3d7eca2f595871890\",\"rc\":0}\nGIT_STATUS={\"err\":\"\",\"out\":\"\",\"rc\":0}\nGIT_REMOTE_HEAD=06bab5acd124e768f70305b3d7eca2f595871890\nCANDIDATE_XML_SHA256=1650c3d868d4bc47703f1b75f1f179cd25309b2d3b20a2b848e81a4423c00861\nCANDIDATE_CHILDREN_COMPACT=[{\"i\":0,\"style_id\":\"0\",\"tag\":\"template\",\"text_bytes\":7027,\"text_sha256\":\"2a7b332223b7fb0af18cfb9659d1698603faa79d5d0f63c49359dd6a1c8fbf7a\",\"title\":\"newfi_portal\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"},{\"i\":1,\"style_id\":\"0\",\"tag\":\"template\",\"text_bytes\":3634,\"text_sha256\":\"25b1dc49e89ef7615a11cd1023876c4ab9b5f96f90b1fca52a4815bb5992fbe8\",\"title\":\"newfi_portal.less\",\"type\":\"public\",\"version_id\":\"1000010\",\"version_string\":\"1.0.0 Alpha 1\"}]\nCANDIDATE_DUPLICATE_IDENTITY_KEYS={}\nTEMPLATE_IMPORT_LINES={\"err\":\"\",\"lines\":[{\"n\":70,\"s\":\"else\"},{\"n\":71,\"s\":\"{\"},{\"n\":72,\"s\":\"$existing = [];\"},{\"n\":73,\"s\":\"}\"},{\"n\":74,\"s\":\"\"},{\"n\":75,\"s\":\"$i = 0;\"},{\"n\":76,\"s\":\"$last = 0;\"},{\"n\":77,\"s\":\"\"},{\"n\":78,\"s\":\"foreach ($entries AS $entry)\"},{\"n\":79,\"s\":\"{\"},{\"n\":80,\"s\":\"$i++;\"},{\"n\":81,\"s\":\"\"},{\"n\":82,\"s\":\"if ($i <= $start)\"},{\"n\":83,\"s\":\"{\"},{\"n\":84,\"s\":\"continue;\"},{\"n\":85,\"s\":\"}\"},{\"n\":86,\"s\":\"\"},{\"n\":87,\"s\":\"$type = (string) $entry['type'];\"},{\"n\":88,\"s\":\"$title = (string) $entry['title'];\"},{\"n\":89,\"s\":\"$entity = $existing[$type][$title] ?? $this->create();\"},{\"n\":90,\"s\":\"$entity->setOption('check_duplicate', false);\"},{\"n\":91,\"s\":\"$entity->setOption('report_modification_errors', false);\"},{\"n\":92,\"s\":\"$entity->getBehavior(DevOutputWritable::class)->setOption('write_dev_output', false);\"},{\"n\":93,\"s\":\"\"},{\"n\":94,\"s\":\"$this->importMappedAttributes($entry, $entity);\"},{\"n\":95,\"s\":\"$entity->style_id = 0;\"},{\"n\":96,\"s\":\"$entity->template = $this->getCdataValue($entry);\"},{\"n\":97,\"s\":\"$entity->addon_id = $addOnId;\"},{\"n\":98,\"s\":\"$entity->save(true, false);\"},{\"n\":99,\"s\":\"\"},{\"n\":100,\"s\":\"\\\\XF::dequeueRunOnce('styleLastModifiedDate');\"},{\"n\":101,\"s\":\"\"},{\"n\":102,\"s\":\"if ($this->resume($maxRunTime, $startTime))\"},{\"n\":103,\"s\":\"{\"},{\"n\":104,\"s\":\"$last = $i;\"},{\"n\":105,\"s\":\"break;\"},{\"n\":106,\"s\":\"}\"},{\"n\":107,\"s\":\"}\"},{\"n\":108,\"s\":\"return ($last ?: false);\"},{\"n\":109,\"s\":\"}\"},{\"n\":110,\"s\":\"\"}],\"path\":\"/var/www/forums/newfi/public/src/XF/AddOn/DataType/Template.php\",\"rc\":0}\nABSTRACT_IMPORT_LINES={\"err\":\"\",\"lines\":[{\"n\":255,\"s\":\"foreach ($this->getMappedAttributes() AS $attr)\"},{\"n\":256,\"s\":\"{\"},{\"n\":257,\"s\":\"if (in_array($attr, $maintained))\"},{\"n\":258,\"s\":\"{\"},{\"n\":259,\"s\":\"continue;\"},{\"n\":260,\"s\":\"}\"},{\"n\":261,\"s\":\"\"},{\"n\":262,\"s\":\"if (self::USE_AUTO_CDATA)\"},{\"n\":263,\"s\":\"{\"},{\"n\":264,\"s\":\"if (isset($el[$attr]))\"},{\"n\":265,\"s\":\"{\"},{\"n\":266,\"s\":\"$entity->$attr = (string) $el[$attr];\"},{\"n\":267,\"s\":\"}\"},{\"n\":268,\"s\":\"else if (isset($el->{$attr}))\"},{\"n\":269,\"s\":\"{\"},{\"n\":270,\"s\":\"$entity->$attr = (string) $el->{$attr};\"},{\"n\":271,\"s\":\"}\"},{\"n\":272,\"s\":\"}\"},{\"n\":273,\"s\":\"else\"},{\"n\":274,\"s\":\"{\"},{\"n\":275,\"s\":\"$entity->$attr = (string) $el[$attr];\"},{\"n\":276,\"s\":\"}\"},{\"n\":277,\"s\":\"}\"},{\"n\":278,\"s\":\"}\"},{\"n\":279,\"s\":\"\"},{\"n\":280,\"s\":\"protected function pluckXmlAttribute(\\\\SimpleXMLElement $els, $key)\"},{\"n\":281,\"s\":\"{\"},{\"n\":282,\"s\":\"$values = [];\"},{\"n\":283,\"s\":\"$i = 0;\"},{\"n\":284,\"s\":\"foreach ($els AS $el)\"},{\"n\":285,\"s\":\"{\"}],\"path\":\"/var/www/forums/newfi/public/src/XF/AddOn/DataType/AbstractDataType.php\",\"rc\":0}\nENTITY_SET_LINES={\"err\":\"\",\"lines\":[{\"n\":630,\"s\":\"throw new \\\\LogicException(\\\"Entity is read only\\\");\"},{\"n\":631,\"s\":\"}\"},{\"n\":632,\"s\":\"\"},{\"n\":633,\"s\":\"if ($this->_deleted)\"},{\"n\":634,\"s\":\"{\"},{\"n\":635,\"s\":\"throw new \\\\LogicException(\\\"Attempted to set '$key' on a deleted entity\\\");\"},{\"n\":636,\"s\":\"}\"},{\"n\":637,\"s\":\"\"},{\"n\":638,\"s\":\"if ($this->_writePending == 'delete')\"},{\"n\":639,\"s\":\"{\"},{\"n\":640,\"s\":\"throw new \\\\LogicException(\\\"Attempted to set '$key' while a deletion was pending\\\");\"},{\"n\":641,\"s\":\"}\"},{\"n\":642,\"s\":\"\"},{\"n\":643,\"s\":\"if ($this->_writePending && empty($options['forceSet']))\"},{\"n\":644,\"s\":\"{\"},{\"n\":645,\"s\":\"throw new \\\\LogicException(\\\"Attempted to set '$key' while a save was pending without forceSet\\\");\"},{\"n\":646,\"s\":\"}\"},{\"n\":647,\"s\":\"\"},{\"n\":648,\"s\":\"if (!isset($this->_structure->columns[$key]))\"},{\"n\":649,\"s\":\"{\"},{\"n\":650,\"s\":\"if (empty($options['skipInvalid']))\"}],\"path\":\"/var/www/forums/newfi/public/src/XF/Mvc/Entity/Entity.php\",\"rc\":0}\nTEMPLATE_IMPORT_CALL_ORDER_GREP={\"err\":\"\",\"lines\":[\"17:\\t\\treturn 'templates';\",\"22:\\t\\treturn 'template';\",\"30:\\t\\t\\t->order(['type', 'title'])->fetch();\",\"36:\\t\\t\\t$this->exportCdata($node, $entry->template);\",\"44:\\tpublic function importAddOnData($addOnId, \\\\SimpleXMLElement $container, $start = 0, $maxRunTime = 0)\",\"58:\\t\\t\\t\\t'type' => (string) $entry['type'],\",\"59:\\t\\t\\t\\t'title' => (string) $entry['title'],\",\"68:\\t\\t\\t\\t->groupBy('type', 'title');\",\"87:\\t\\t\\t$type = (string) $entry['type'];\",\"88:\\t\\t\\t$title = (string) $entry['title'];\",\"89:\\t\\t\\t$entity = $existing[$type][$title] ?? $this->create();\",\"94:\\t\\t\\t$this->importMappedAttributes($entry, $entity);\",\"96:\\t\\t\\t$entity->template = $this->getCdataValue($entry);\",\"98:\\t\\t\\t$entity->save(true, false);\",\"113:\\t\\t$existing = $this->findAllForType($addOnId)->where('style_id', 0)->fetch()->groupBy('type', 'title');\",\"125:\\t\\t\\t$type = $attributes['type'];\",\"126:\\t\\t\\t$title = $attributes['title'];\",\"128:\\t\\t\\tif (isset($existing[$type][$title]))\",\"130:\\t\\t\\t\\tunset($existing[$type][$title]);\",\"159:\\t\\t\\t'type',\",\"160:\\t\\t\\t'title',\"],\"rc\":0}\nDB_SCHEMAS=[\"xf_newfi\"]\nXF_TEMPLATE_INDEXES={\"err\":\"\",\"rc\":0,\"rows\":[\"xf_template\\t0\\tPRIMARY\\t1\\ttemplate_id\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t1\\ttype\\tA\\t6\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t2\\ttitle\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\",\"xf_template\\t0\\ttype_title_style_id\\t3\\tstyle_id\\tA\\t1307\\tNULL\\tNULL\\t\\tBTREE\\t\\t\\tNO\"]}\nCURRENT_TEMPLATE_ROWS={\"err\":\"\",\"rc\":0,\"rows\":[\"1610\\t0\\tpublic\\tnewfi_portal\\tNewfi/Portal\\t1f484c8cf6bdeda8fda2974abf8a57f8cc7453fe2a779af7c735afa3b73aa741\"]}\nFINAL_DECISION=RCA5_COMPLETE_NO_MUTATION_CORE_IMPORT_ORDER_COMPACT_READY\nRCA5_END=true\n" } diff --git a/runtime/latest.txt b/runtime/latest.txt index 0b5c9ed8..9fdc5400 100644 --- a/runtime/latest.txt +++ b/runtime/latest.txt @@ -1,15 +1,15 @@ CHAT_OUTPUT_BEGIN -COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA4 +COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5 STATUS=OK RC=0 HOST=pve01 MODE=read-only -COMPONENT=newfi-portal200-template-xml-identity-rca +COMPONENT=newfi-portal200-template-core-order-compact-rca REFERENCE_REGISTER_CHECK=OK REFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66 ERROR_REGISTER_CHECK=OK ERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0 -COMMAND_SHA256=9b6f4c92659c19cb522d4719f9ac033a5bceb5e296d0a89a5178445ecb026830 +COMMAND_SHA256=a248577aad05735aea22d9086779b52efe1cdd227e0beecfa77e1f8730bacce9 DUPLICATE_FAILED_COMMAND_BLOCKED=false EXECUTION_STARTED=true CHANGE_DECLARED=false @@ -24,11 +24,11 @@ MUTATION_OUTCOME=NO_MUTATION SANITIZED=yes SECRETS_INCLUDED=no PRIVATE_ADDRESSES_INCLUDED=no -RAW_EVIDENCE_SHA256=29e0b6a70556c30e1c73228374ac86237c2eeb7802259adbc2244808b3ea7286 -SANITIZED_OUTPUT_SHA256=29e0b6a70556c30e1c73228374ac86237c2eeb7802259adbc2244808b3ea7286 +RAW_EVIDENCE_SHA256=511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f +SANITIZED_OUTPUT_SHA256=511b1d2ae2292c5a365702038cd0a2317a368e105e461ac12a8bfc93940a250f OUTPUT_BEGIN -RCA4_BEGIN=true -COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA4 +RCA5_BEGIN=true +COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5 MUTATION_SCOPE=NONE_READ_ONLY MUTATIONS_PERFORMED=NO ERROR_REGISTER_CHECK=OK @@ -36,22 +36,24 @@ ERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4 REFERENCE_CHECK=OK REFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66 AUTHORITY_CHECK_SCOPE=READABILITY_ONLY_INCIDENTS_NOT_CLOSED -RCA3_HISTORY_SHA256=aeb3162f7a87befd97027356392532d316603a84d991300c258dcc47254b8729 -RCA3_STATUS=OK -RCA3_FINAL_DECISION=RCA3_COMPLETE_NO_MUTATION_TEMPLATE_ENTITY_EXTENSION_AND_IMPORT_ORDER_READY +RCA4_HISTORY_SHA256=0c3318ac2149f3d9d5bd644cd9e06c48b4dddffc1685546287d6324c23217923 +RCA4_STATUS=OK +RCA4_FINAL_DECISION=RCA4_COMPLETE_NO_MUTATION_TEMPLATE_XML_IDENTITY_READY GIT_HEAD={"err":"","out":"06bab5acd124e768f70305b3d7eca2f595871890","rc":0} GIT_STATUS={"err":"","out":"","rc":0} GIT_REMOTE_HEAD=06bab5acd124e768f70305b3d7eca2f595871890 -BASELINE_XML_IDENTITY={"bytes":1461,"children":[{"attrib":{"title":"newfi_portal","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"},"i":0,"style_id":"0","tag":"template","text_bytes":1274,"text_sha256":"1f484c8cf6bdeda8fda2974abf8a57f8cc7453fe2a779af7c735afa3b73aa741","title":"newfi_portal","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"}],"duplicate_identity_keys":{},"label":"baseline","root_tag":"templates","sha256":"c29c04f8b937284e821c87957653e87c2f6ac014fac30648a0f6b18e84392adf"} -CANDIDATE_XML_IDENTITY={"bytes":10977,"children":[{"attrib":{"title":"newfi_portal","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"},"i":0,"style_id":"0","tag":"template","text_bytes":7027,"text_sha256":"2a7b332223b7fb0af18cfb9659d1698603faa79d5d0f63c49359dd6a1c8fbf7a","title":"newfi_portal","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"},{"attrib":{"title":"newfi_portal.less","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"},"i":1,"style_id":"0","tag":"template","text_bytes":3634,"text_sha256":"25b1dc49e89ef7615a11cd1023876c4ab9b5f96f90b1fca52a4815bb5992fbe8","title":"newfi_portal.less","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"}],"duplicate_identity_keys":{},"label":"candidate","root_tag":"templates","sha256":"1650c3d868d4bc47703f1b75f1f179cd25309b2d3b20a2b848e81a4423c00861"} +CANDIDATE_XML_SHA256=1650c3d868d4bc47703f1b75f1f179cd25309b2d3b20a2b848e81a4423c00861 +CANDIDATE_CHILDREN_COMPACT=[{"i":0,"style_id":"0","tag":"template","text_bytes":7027,"text_sha256":"2a7b332223b7fb0af18cfb9659d1698603faa79d5d0f63c49359dd6a1c8fbf7a","title":"newfi_portal","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"},{"i":1,"style_id":"0","tag":"template","text_bytes":3634,"text_sha256":"25b1dc49e89ef7615a11cd1023876c4ab9b5f96f90b1fca52a4815bb5992fbe8","title":"newfi_portal.less","type":"public","version_id":"1000010","version_string":"1.0.0 Alpha 1"}] +CANDIDATE_DUPLICATE_IDENTITY_KEYS={} +TEMPLATE_IMPORT_LINES={"err":"","lines":[{"n":70,"s":"else"},{"n":71,"s":"{"},{"n":72,"s":"$existing = [];"},{"n":73,"s":"}"},{"n":74,"s":""},{"n":75,"s":"$i = 0;"},{"n":76,"s":"$last = 0;"},{"n":77,"s":""},{"n":78,"s":"foreach ($entries AS $entry)"},{"n":79,"s":"{"},{"n":80,"s":"$i++;"},{"n":81,"s":""},{"n":82,"s":"if ($i <= $start)"},{"n":83,"s":"{"},{"n":84,"s":"continue;"},{"n":85,"s":"}"},{"n":86,"s":""},{"n":87,"s":"$type = (string) $entry['type'];"},{"n":88,"s":"$title = (string) $entry['title'];"},{"n":89,"s":"$entity = $existing[$type][$title] ?? $this->create();"},{"n":90,"s":"$entity->setOption('check_duplicate', false);"},{"n":91,"s":"$entity->setOption('report_modification_errors', false);"},{"n":92,"s":"$entity->getBehavior(DevOutputWritable::class)->setOption('write_dev_output', false);"},{"n":93,"s":""},{"n":94,"s":"$this->importMappedAttributes($entry, $entity);"},{"n":95,"s":"$entity->style_id = 0;"},{"n":96,"s":"$entity->template = $this->getCdataValue($entry);"},{"n":97,"s":"$entity->addon_id = $addOnId;"},{"n":98,"s":"$entity->save(true, false);"},{"n":99,"s":""},{"n":100,"s":"\\XF::dequeueRunOnce('styleLastModifiedDate');"},{"n":101,"s":""},{"n":102,"s":"if ($this->resume($maxRunTime, $startTime))"},{"n":103,"s":"{"},{"n":104,"s":"$last = $i;"},{"n":105,"s":"break;"},{"n":106,"s":"}"},{"n":107,"s":"}"},{"n":108,"s":"return ($last ?: false);"},{"n":109,"s":"}"},{"n":110,"s":""}],"path":"/var/www/forums/newfi/public/src/XF/AddOn/DataType/Template.php","rc":0} +ABSTRACT_IMPORT_LINES={"err":"","lines":[{"n":255,"s":"foreach ($this->getMappedAttributes() AS $attr)"},{"n":256,"s":"{"},{"n":257,"s":"if (in_array($attr, $maintained))"},{"n":258,"s":"{"},{"n":259,"s":"continue;"},{"n":260,"s":"}"},{"n":261,"s":""},{"n":262,"s":"if (self::USE_AUTO_CDATA)"},{"n":263,"s":"{"},{"n":264,"s":"if (isset($el[$attr]))"},{"n":265,"s":"{"},{"n":266,"s":"$entity->$attr = (string) $el[$attr];"},{"n":267,"s":"}"},{"n":268,"s":"else if (isset($el->{$attr}))"},{"n":269,"s":"{"},{"n":270,"s":"$entity->$attr = (string) $el->{$attr};"},{"n":271,"s":"}"},{"n":272,"s":"}"},{"n":273,"s":"else"},{"n":274,"s":"{"},{"n":275,"s":"$entity->$attr = (string) $el[$attr];"},{"n":276,"s":"}"},{"n":277,"s":"}"},{"n":278,"s":"}"},{"n":279,"s":""},{"n":280,"s":"protected function pluckXmlAttribute(\\SimpleXMLElement $els, $key)"},{"n":281,"s":"{"},{"n":282,"s":"$values = [];"},{"n":283,"s":"$i = 0;"},{"n":284,"s":"foreach ($els AS $el)"},{"n":285,"s":"{"}],"path":"/var/www/forums/newfi/public/src/XF/AddOn/DataType/AbstractDataType.php","rc":0} +ENTITY_SET_LINES={"err":"","lines":[{"n":630,"s":"throw new \\LogicException(\"Entity is read only\");"},{"n":631,"s":"}"},{"n":632,"s":""},{"n":633,"s":"if ($this->_deleted)"},{"n":634,"s":"{"},{"n":635,"s":"throw new \\LogicException(\"Attempted to set '$key' on a deleted entity\");"},{"n":636,"s":"}"},{"n":637,"s":""},{"n":638,"s":"if ($this->_writePending == 'delete')"},{"n":639,"s":"{"},{"n":640,"s":"throw new \\LogicException(\"Attempted to set '$key' while a deletion was pending\");"},{"n":641,"s":"}"},{"n":642,"s":""},{"n":643,"s":"if ($this->_writePending && empty($options['forceSet']))"},{"n":644,"s":"{"},{"n":645,"s":"throw new \\LogicException(\"Attempted to set '$key' while a save was pending without forceSet\");"},{"n":646,"s":"}"},{"n":647,"s":""},{"n":648,"s":"if (!isset($this->_structure->columns[$key]))"},{"n":649,"s":"{"},{"n":650,"s":"if (empty($options['skipInvalid']))"}],"path":"/var/www/forums/newfi/public/src/XF/Mvc/Entity/Entity.php","rc":0} +TEMPLATE_IMPORT_CALL_ORDER_GREP={"err":"","lines":["17:\t\treturn 'templates';","22:\t\treturn 'template';","30:\t\t\t->order(['type', 'title'])->fetch();","36:\t\t\t$this->exportCdata($node, $entry->template);","44:\tpublic function importAddOnData($addOnId, \\SimpleXMLElement $container, $start = 0, $maxRunTime = 0)","58:\t\t\t\t'type' => (string) $entry['type'],","59:\t\t\t\t'title' => (string) $entry['title'],","68:\t\t\t\t->groupBy('type', 'title');","87:\t\t\t$type = (string) $entry['type'];","88:\t\t\t$title = (string) $entry['title'];","89:\t\t\t$entity = $existing[$type][$title] ?? $this->create();","94:\t\t\t$this->importMappedAttributes($entry, $entity);","96:\t\t\t$entity->template = $this->getCdataValue($entry);","98:\t\t\t$entity->save(true, false);","113:\t\t$existing = $this->findAllForType($addOnId)->where('style_id', 0)->fetch()->groupBy('type', 'title');","125:\t\t\t$type = $attributes['type'];","126:\t\t\t$title = $attributes['title'];","128:\t\t\tif (isset($existing[$type][$title]))","130:\t\t\t\tunset($existing[$type][$title]);","159:\t\t\t'type',","160:\t\t\t'title',"],"rc":0} DB_SCHEMAS=["xf_newfi"] XF_TEMPLATE_INDEXES={"err":"","rc":0,"rows":["xf_template\t0\tPRIMARY\t1\ttemplate_id\tA\t1307\tNULL\tNULL\t\tBTREE\t\t\tNO","xf_template\t0\ttype_title_style_id\t1\ttype\tA\t6\tNULL\tNULL\t\tBTREE\t\t\tNO","xf_template\t0\ttype_title_style_id\t2\ttitle\tA\t1307\tNULL\tNULL\t\tBTREE\t\t\tNO","xf_template\t0\ttype_title_style_id\t3\tstyle_id\tA\t1307\tNULL\tNULL\t\tBTREE\t\t\tNO"]} CURRENT_TEMPLATE_ROWS={"err":"","rc":0,"rows":["1610\t0\tpublic\tnewfi_portal\tNewfi/Portal\t1f484c8cf6bdeda8fda2974abf8a57f8cc7453fe2a779af7c735afa3b73aa741"]} -TEMPLATE_IMPORT_LINES_70_110={"err":"","rc":0,"text":" 70\t\t\telse\n 71\t\t\t{\n 72\t\t\t\t$existing = [];\n 73\t\t\t}\n 74\t\n 75\t\t\t$i = 0;\n 76\t\t\t$last = 0;\n 77\t\n 78\t\t\tforeach ($entries AS $entry)\n 79\t\t\t{\n 80\t\t\t\t$i++;\n 81\t\n 82\t\t\t\tif ($i <= $start)\n 83\t\t\t\t{\n 84\t\t\t\t\tcontinue;\n 85\t\t\t\t}\n 86\t\n 87\t\t\t\t$type = (string) $entry['type'];\n 88\t\t\t\t$title = (string) $entry['title'];\n 89\t\t\t\t$entity = $existing[$type][$title] ?? $this->create();\n 90\t\t\t\t$entity->setOption('check_duplicate', false);\n 91\t\t\t\t$entity->setOption('report_modification_errors', false);\n 92\t\t\t\t$entity->getBehavior(DevOutputWritable::class)->setOption('write_dev_output', false);\n 93\t\n 94\t\t\t\t$this->importMappedAttributes($entry, $entity);\n 95\t\t\t\t$entity->style_id = 0;\n 96\t\t\t\t$entity->template = $this->getCdataValue($entry);\n 97\t\t\t\t$entity->addon_id = $addOnId;\n 98\t\t\t\t$entity->save(true, false);\n 99\t\n 100\t\t\t\t\\XF::dequeueRunOnce('styleLastModifiedDate');\n 101\t\n 102\t\t\t\tif ($this->resume($maxRunTime, $startTime))\n 103\t\t\t\t{\n 104\t\t\t\t\t$last = $i;\n 105\t\t\t\t\tbreak;\n 106\t\t\t\t}\n 107\t\t\t}\n 108\t\t\treturn ($last ?: false);\n 109\t\t}\n 110\t\n"} -ABSTRACT_IMPORT_LINES_255_285={"err":"","rc":0,"text":" 255\t\t\tforeach ($this->getMappedAttributes() AS $attr)\n 256\t\t\t{\n 257\t\t\t\tif (in_array($attr, $maintained))\n 258\t\t\t\t{\n 259\t\t\t\t\tcontinue;\n 260\t\t\t\t}\n 261\t\n 262\t\t\t\tif (self::USE_AUTO_CDATA)\n 263\t\t\t\t{\n 264\t\t\t\t\tif (isset($el[$attr]))\n 265\t\t\t\t\t{\n 266\t\t\t\t\t\t$entity->$attr = (string) $el[$attr];\n 267\t\t\t\t\t}\n 268\t\t\t\t\telse if (isset($el->{$attr}))\n 269\t\t\t\t\t{\n 270\t\t\t\t\t\t$entity->$attr = (string) $el->{$attr};\n 271\t\t\t\t\t}\n 272\t\t\t\t}\n 273\t\t\t\telse\n 274\t\t\t\t{\n 275\t\t\t\t\t$entity->$attr = (string) $el[$attr];\n 276\t\t\t\t}\n 277\t\t\t}\n 278\t\t}\n 279\t\n 280\t\tprotected function pluckXmlAttribute(\\SimpleXMLElement $els, $key)\n 281\t\t{\n 282\t\t\t$values = [];\n 283\t\t\t$i = 0;\n 284\t\t\tforeach ($els AS $el)\n 285\t\t\t{\n"} -ENTITY_SET_LINES_630_650={"err":"","rc":0,"text":" 630\t\t\t\tthrow new \\LogicException(\"Entity is read only\");\n 631\t\t\t}\n 632\t\n 633\t\t\tif ($this->_deleted)\n 634\t\t\t{\n 635\t\t\t\tthrow new \\LogicException(\"Attempted to set '$key' on a deleted entity\");\n 636\t\t\t}\n 637\t\n 638\t\t\tif ($this->_writePending == 'delete')\n 639\t\t\t{\n 640\t\t\t\tthrow new \\LogicException(\"Attempted to set '$key' while a deletion was pending\");\n 641\t\t\t}\n 642\t\n 643\t\t\tif ($this->_writePending && empty($options['forceSet']))\n 644\t\t\t{\n 645\t\t\t\tthrow new \\LogicException(\"Attempted to set '$key' while a save was pending without forceSet\");\n 646\t\t\t}\n 647\t\n 648\t\t\tif (!isset($this->_structure->columns[$key]))\n 649\t\t\t{\n 650\t\t\t\tif (empty($options['skipInvalid']))\n"} -FINAL_DECISION=RCA4_COMPLETE_NO_MUTATION_TEMPLATE_XML_IDENTITY_READY -RCA4_END=true +FINAL_DECISION=RCA5_COMPLETE_NO_MUTATION_CORE_IMPORT_ORDER_COMPACT_READY +RCA5_END=true OUTPUT_END CHAT_OUTPUT_END