b13/container

Issues with workspaces: Copy and paste brings back previously deleted images

zenoussi opened this issue · 1 comments

Configuration of the two-column as an example:

['name' => 'column.1', 'colPos' => 201, 'disallowed' => ['CType' => 'section, sectionBackgroundImage']],
['name' => 'column.2', 'colPos' => 202, 'disallowed' => ['CType' => 'section, sectionBackgroundImage']]

---- preparing in live-mode ------
create container element b13-2cols
create content element type textmedia with an image in b13-2cols col 201
create content element type textmedia with an image in b13-2cols col 202

---- switch to workspace-mode ------
delete the content element type textmedia of the first b13-2cols
copy the container element b13-2cols to clipboard
paste the container element b13-2cols above the first container element b13-2cols

The inserted copy of the b13-2cols contains the previously deleted image again.

TYPO3 11.5.28
container 2.2.3
content_defender 3.4.0
PHP 8.1.13

Greetings, Ulli

Addition:
If you delete the first b13-2cols element, only the container element is deleted. The contained image remains as "Unused element on this page".