CHAT_OUTPUT_BEGIN
COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA4
STATUS=OK
RC=0
HOST=pve01
MODE=read-only
COMPONENT=newfi-portal200-template-xml-identity-rca
REFERENCE_REGISTER_CHECK=OK
REFERENCE_SHA256=5a3d8e5154c41cb582a4e0aca68090be1f0138918bf82131a948df326f9d8d66
ERROR_REGISTER_CHECK=OK
ERROR_REGISTER_SHA256=3b09a553ec0f527ed3afeed4753f52a74ee3036045bbfb3c685e9f8af4ba7ba0
COMMAND_SHA256=9b6f4c92659c19cb522d4719f9ac033a5bceb5e296d0a89a5178445ecb026830
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=29e0b6a70556c30e1c73228374ac86237c2eeb7802259adbc2244808b3ea7286
SANITIZED_OUTPUT_SHA256=29e0b6a70556c30e1c73228374ac86237c2eeb7802259adbc2244808b3ea7286
OUTPUT_BEGIN
RCA4_BEGIN=true
COMMAND_ID=NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA4
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
RCA3_HISTORY_SHA256=aeb3162f7a87befd97027356392532d316603a84d991300c258dcc47254b8729
RCA3_STATUS=OK
RCA3_FINAL_DECISION=RCA3_COMPLETE_NO_MUTATION_TEMPLATE_ENTITY_EXTENSION_AND_IMPORT_ORDER_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"}
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

OUTPUT_END
CHAT_OUTPUT_END
