Bug #95698
closedNon-existent language in PageLayoutView when user has language restrictions
0%
Description
We created a backend user who only has access to specific languages, but not the default language (bc_users field allowed_languages). But if this user goes to module "Page", selects a page and selects "Languages" instead of "Columns" an error occurs:
Call to a member function getTitle() on null in [...]/typo3_src-10.4.21/typo3/sysext/backend/Classes/View/PageLayoutView.php line 729
The problem seems to be, that PageLayoutView is only initialized with the available languages for the user, but the method generateLanguageView iterates over all page translations language ids. So it wants to access the properties of non existent languages from the backend users view.
Updated by Manfred Egger about 2 years ago
It seems this issue is fixed in TYPO3 11. So i guess it's only a bug in TYPO3 10.
Updated by Christian Kuhn over 1 year ago
- Has duplicate Bug #96283: Page module BE user rights "languages allowed" exception if default is not selected added
Updated by Christian Kuhn over 1 year ago
- Status changed from New to Closed
Hey. I hope it's ok to close here: v10 is in "important / security" mode for a while already and the issue does not occur with v11 as you stated.
It will probably not be fixed in v10 anymore, except someone picks it up, creates a "safe" patch and convinces core team members to review and merge it. This is not too likely to happen. As such, I'm closing as "won't fix" (anymore) and hope it does not give too many headaches.