Skip to content

[BUG] CmdmapDataHandlerHook uses wrong pageId #181

@siwa-ddiesenreither

Description

@siwa-ddiesenreither

In CmdmapDataHandlerHook there is a check on line 64 if $value is array and has set colPos. In my case when creating a new page translation by copying elements (Free Mode) there is a case where no colPos is set and so he casts the $value array as int and continues with $pageId = 1 due to the fact that (int)$value is 1.

Create a Container Element on the root page and add a textmedia to it then create a page translation and then use "Translate" and select "Copy".

Image

Versions used:
ichhabrecht/content-defender: 3.5.3
typo3/cms-core: 13.4.27
b13/container: 3.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions