runtime: publish NEWFI-260907-A-PORTAL200-APPLY4FIX1-RCA5
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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
|
||||
+8
-8
File diff suppressed because one or more lines are too long
+19
-17
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user