Project

General

Profile

Actions

Bug #103519

open

Category relation missing in XML-export

Added by Matthias Druske 8 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2024-04-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
impexp, import, export, XML, category, categories
Complexity:
Is Regression:
Sprint Focus:

Description

This error occurs when one has a page assigned to a category and tries to export it (and its category record) in XML format via the impexp extension:

There should be a block looking like this example in the export-data, but it is missing:

        <related index="rels" type="array">
            <field index="categories" type="array">
                <type>db</type>
                <relations index="itemArray" type="array">
                    <element index="0" type="array">
                        <id>160</id>
                        <table>sys_category</table>
                    </element>
                </relations>
            </field>
        </related>

As a result, when re-imported, any pages that should be assigned to some category as per the export data, are always additionally assigned to the category with the uid 1 (thus to observe the error on re-import the imported page needs a category with an uid above 1).


Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Bug #91580: Records with sys_category_record_mm not exported in t3dNew2020-06-04

Actions
Related to TYPO3 Core - Bug #82301: Relationship between tt_address and sys_category records broken on importNew2017-09-05

Actions
Actions #1

Updated by Riccardo De Contardi 4 months ago

  • Related to Bug #91580: Records with sys_category_record_mm not exported in t3d added
Actions #2

Updated by Riccardo De Contardi 4 months ago

  • Related to Bug #82301: Relationship between tt_address and sys_category records broken on import added
Actions

Also available in: Atom PDF