Skip to content

Invalid sorting inside container after copy/paste container into another place / page #614

@OlivierSC

Description

@OlivierSC

Hi,

I have an issues with copy and paste container.
The sorting of contents inside the pasted container is wrong.
Example

Page 1
  [container ]
         - content 1 (sorting 4)
         - content 2 (sorting 16)

if I copy/paste [container] in another empty page, the result is :

Page 2
  [container (copy) ]
         - content 1 (sorting 256)
         - content 2 (sorting 768)

The result is the same no matter the page is empty or with existing contents, and no matter where I paste container (top, middle of contents or bottom)

Tested on :

  • TYPO3 v13.4.9
  • Container v3.1.8

There are some other issues about sorting, but these are not exactly about the same behavior.

EDIT :
Daniel Diesenreither mention the same behavior in PR #610 (but the PR is merged / closed)
#610 (comment)

achimfritz i think this introduced a bug when copying a container. I have a container with 2 textmedia inside of it. When copying the container and insert it above the original container the sorting of the two textmedia changes.

Edit:
it is working until 3.1.6
Originally posted by @siwa-ddiesenreither in #610 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions