mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-07-07 18:58:31 +02:00
The schema is very flexible and some values are not validated upfront. This will result in many objects which we currently can not map. This resulted in an exception breaking the rest of the import. We now handle the broken mapping and skip those objects with proper logging. This allows to continue with import and report and debug those objects in order to improve the mapping step by step. Relates: #10198
100 lines
3.6 KiB
XML
100 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<dataset>
|
|
<pages>
|
|
<uid>1</uid>
|
|
<pid>0</pid>
|
|
<tstamp>1613400587</tstamp>
|
|
<crdate>1613400558</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<doktype>4</doktype>
|
|
<title>Rootpage</title>
|
|
<is_siteroot>1</is_siteroot>
|
|
</pages>
|
|
<pages>
|
|
<uid>10</uid>
|
|
<pid>1</pid>
|
|
<tstamp>1613400587</tstamp>
|
|
<crdate>1613400558</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<doktype>254</doktype>
|
|
<title>Storage folder</title>
|
|
</pages>
|
|
|
|
<sys_language>
|
|
<uid>1</uid>
|
|
<pid>0</pid>
|
|
<title>English</title>
|
|
<flag>en-us-gb</flag>
|
|
<language_isocode>en</language_isocode>
|
|
</sys_language>
|
|
|
|
<sys_language>
|
|
<uid>2</uid>
|
|
<pid>0</pid>
|
|
<title>French</title>
|
|
<flag>fr</flag>
|
|
<language_isocode>fr</language_isocode>
|
|
</sys_language>
|
|
|
|
<tx_thuecat_import_configuration>
|
|
<uid>1</uid>
|
|
<pid>0</pid>
|
|
<tstamp>1613400587</tstamp>
|
|
<crdate>1613400558</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<disable>0</disable>
|
|
<title>Import With Exceptions</title>
|
|
<type>static</type>
|
|
<configuration><![CDATA[<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
<T3FlexForms>
|
|
<data>
|
|
<sheet index="sDEF">
|
|
<language index="lDEF">
|
|
<field index="storagePid">
|
|
<value index="vDEF">10</value>
|
|
</field>
|
|
<field index="urls">
|
|
<el index="el">
|
|
<field index="602a89f54d694654233086">
|
|
<value index="url">
|
|
<el>
|
|
<field index="url">
|
|
<value index="vDEF">https://thuecat.org/resources/mapping-exception</value>
|
|
</field>
|
|
</el>
|
|
</value>
|
|
<value index="_TOGGLE">0</value>
|
|
</field>
|
|
<field index="602a89f5e6c52907080672">
|
|
<value index="url">
|
|
<el>
|
|
<field index="url">
|
|
<value index="vDEF">https://thuecat.org/resources/165868194223-zmqf</value>
|
|
</field>
|
|
</el>
|
|
</value>
|
|
<value index="_TOGGLE">0</value>
|
|
</field>
|
|
</el>
|
|
</field>
|
|
</language>
|
|
</sheet>
|
|
</data>
|
|
</T3FlexForms>
|
|
]]></configuration>
|
|
</tx_thuecat_import_configuration>
|
|
|
|
<tx_thuecat_town>
|
|
<uid>1</uid>
|
|
<pid>10</pid>
|
|
<tstamp>1613401129</tstamp>
|
|
<crdate>1613401129</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<disable>0</disable>
|
|
<remote_id>https://thuecat.org/resources/043064193523-jcyt</remote_id>
|
|
<managed_by>1</managed_by>
|
|
<tourist_information>0</tourist_information>
|
|
<title>Erfurt</title>
|
|
</tx_thuecat_town>
|
|
</dataset>
|