content_defender icon indicating copy to clipboard operation
content_defender copied to clipboard

Cannot paste content elements with maxitems set to 1

Open froemken opened this issue 4 years ago • 1 comments

Hello,

I'm using content_defender 3.1.3 with container 1.3.1 in TYPO3 10.4.19. Gridelements, flux, fluid_pages, ... is not installed.

I have created a 2 col 50/50 container and a 4 col image|text|image|text container where only image CEs are allowed in image cols. While cut-paste an image CE from one col of 50/50 container into one of the image cols of my second container I get following error:

1: The command "paste" for record "" couldn't be executed due to reached maxitems configuration of 1.

Seems to be the same problem as #36 but instead of backend_layouts I'm using EXT:container.

Nice greetings

Stefan

froemken avatar Aug 19 '21 07:08 froemken

Same here while using TYPO 10.4.26, content_defender 3.2.2, container 1.5.0., no gridelements.

When setting a maxitems' => '1', in addition to an 'allowed' => ['CType' => 'textmedia'], I got this error. Without 'allowed' it works as expected.

rtoenjes avatar Mar 31 '22 17:03 rtoenjes

Hi all,

As maxitems in container content elements are handled by EXT:container itself, I kindly ask you to reopen this issue in their repository (of this is still an issue for you). Thank you very much for your understanding.

IchHabRecht avatar Jan 25 '23 23:01 IchHabRecht