Maxitems for column not working in workspaces
Opened this issue · 1 comments
treknuts commented
Typo3 v11.5.34
PHP v7.4.33
Content Defender v3.4.1
I am experiencing an issue with a column where the maxitems = 1
, but it's allowing the addition of a second content element while editing the draft workspace. I get the following error while attempting to add a second content element in the live version:
"Sorry, you didn't have proper permissions to perform this change.
Maximum number of allowed content elements (1) reached. 1494605357"
Here is the column configuration:
columns {
1 {
name = HERO
colPos = 3
allowed {
CType = allowed_element
}
maxitems = 1
}
}
The allowed
section is still working as intended, but it's not following the maxitems
configuration.
kitzberger commented
I can confirm this issue with TYPO3 11 and EXT:content_defender 3.4.3
- It's currently possible to add a 2nd CE via a draft workspace and publish it successfully to the live workspace. Which should not be possible.
- But it is not possible though to edit the 1st CE in a draft workspace. Then the exception 1494605357 is being thrown.