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

Issues with Translation: Copying and pasting content elements for explicitly allowed/disallowed CTypes #420

Open
zenoussi opened this issue Jun 21, 2023 · 0 comments
Assignees

Comments

@zenoussi
Copy link

As with Issue #346, a very similar problem arises with multilingual pages.

Configuration of the two-column using textmedia as an example:
['name' => 'Text', 'colPos' => 25, 'colspan' => 4, 'disallowed' => ['CType' => 'textmedia']],
['name' => 'Image', 'colPos' => 24, 'colspan' => 1, 'allowed' => ['CType' => 'textmedia']]

---- preparing ------
create container element b13-2cols
create content element type header in b13-2cols col 25
create content element type textmedia in b13-2cols col 24
"translate" the content elements
copy the container element b13-2cols (standard language) to clipboard
paste the container element b13-2cols below the first container element b13-2cols
delete the content element type textmedia (standard language) of the first b13-2cols

---- the actual starting point of the issue ------
copy content element type textmedia (standard language) of the second b13-2cols to clipboard
paste content element type textmedia (standard language) into col 24 of first (empty) b13-2cols

---- Error message: Frontend ------
1: The record "" couldn't be saved due to disallowed value(s).

---- Error message: Log ------
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Warning: Undefined array key 112 in /var/www/html/public/typo3/sysext/workspaces/Classes/Service/WorkspaceService.php line 742 | TYPO3\CMS\Core\Error\Exception thrown in file /var/www/html/public/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 137. Requested URL: https://xxx.ddev.site/typo3/ajax/workspace/dispatch?token=--AnonymizedToken--

TYPO3 11.5.28
container 2.2.3
content_defender 3.4.0
PHP 8.1.13

Greetings, Ulli

@achimfritz achimfritz self-assigned this Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants