Bug #89550

Localization of page fails without l10n_parent permission

Added by Andreas Sturmberger 22 days ago. Updated 19 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2019-10-30
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A non-Admin backenduser without having the "Transl.Orig (l10n_parent)" permission for the pages table can not localize pages.
It results in an "endless loading".
The page gets inserted into the database with l10n_parent = 0 but is not shown in the backend.
If any user than tries to localize the page again, this error comes up:

Localization failed: there already are localizations (512) for language 2 of the "pages" record 92!

Therefore, a user without the l10n_parent permission should not be given the ability to localize pages, as it will result in inconsistent data.

The same error maybe also applies to other tables (tt_content, tx_*, ..), but i have not tested this.

History

#1 Updated by Andreas Sturmberger 22 days ago

  • Subject changed from Localization of page failes without l10n_parent permission to Localization of page fails without l10n_parent permission

#2 Updated by Gerrit Code Review 19 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62176

#3 Updated by Gerrit Code Review 19 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62176

#4 Updated by Gerrit Code Review 19 days ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62176

#5 Updated by Gerrit Code Review 19 days ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62176

Also available in: Atom PDF