Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Column max doesn't work with copy - TYPO3 V9.5.11 and CD V3.0.11 #61

Open
nischcodes opened this issue Nov 18, 2019 · 2 comments

Comments

@nischcodes
Copy link

If I restrict the max item count of a content column via the max attribut in my backend layout, every thing is fine as long as the client adds new content elements with the "new item" button. If the client try's to copy an allowed content element, the client is able to paste the element without any count restrictions. Debugging the extension code shows that in line 80 of CmdmapDataHandlerHook.php a backend layout for the pid of the element not of the page is loaded...assuming the variable $pageId definied in line 67, 70 and 74 should store the page id not the element pid. This results that the loaded config for the colPos in line 81 doesn't containing any item restriction for the column of the element.

I am using TYPO3 Version 9.5.11 and Content Defender 3.0.11.

Thanks for your help.

@IchHabRecht
Copy link
Owner

Hi @nikolas-schwarz,

I guess the issue is solved already in a newer release of content_defender.

@nischcodes
Copy link
Author

Hi @IchHabRecht, I haven’t checked the most recent version, the bug was reported way back in 2019 and until August last year the bug still existed. But thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants