Bug #87510

Existing Translation breaks List-View

Added by König David 8 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-01-21
Due date:
% Done:

100%

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

Description

If a translation exists (i.e. of a page or content) on a page, the List-View in the backend no longer works on that page.
If you configure the requested language in the "Sites" management, the List-View works as it should.

The Error:

#1522960188 InvalidArgumentException
Language 1 does not exist on site XYZ.

thrown in: /typo3/sysext/core/Classes/Site/Entity/Site.php line 220

Associated revisions

Revision 405c314d (diff)
Added by Patrick Schriner 7 months ago

[BUGFIX] Catch orphaned language related exception

Generating a preview link will not crash the backend when the relevant
site is missing the language information to build the proper url.

Resolves: #87510
Releases: master, 9.5
Change-Id: I49b006f83cb6dcf4f105f215e8c069b465b6408c
Reviewed-on: https://review.typo3.org/c/59642
Tested-by: TYPO3com <>
Tested-by: Guido Schmechel <>
Tested-by: dmst <>
Tested-by: Markus Klein <>
Reviewed-by: Guido Schmechel <>
Reviewed-by: dmst <>
Reviewed-by: Markus Klein <>

Revision 01ca2265 (diff)
Added by Patrick Schriner 7 months ago

[BUGFIX] Catch orphaned language related exception

Generating a preview link will not crash the backend when the relevant
site is missing the language information to build the proper url.

Resolves: #87510
Releases: master, 9.5
Change-Id: I49b006f83cb6dcf4f105f215e8c069b465b6408c
Reviewed-on: https://review.typo3.org/c/59762
Tested-by: TYPO3com <>
Tested-by: Markus Klein <>
Reviewed-by: Markus Klein <>

History

#1 Updated by Adhurim Gervalla 8 months ago

I can confirm this bug.
If I copy a content element from one page with translation to another page tree without translations, the list module on that page will stop working.

#2 Updated by Gerrit Code Review 8 months 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/59642

#3 Updated by Patrick Schriner 8 months ago

Steps to reproduce:

  1. Add a language in your site
  2. Translate a page with that new language
  3. Delete the language in your site
  4. Try to open the translated page in the backend

#4 Updated by Gerrit Code Review 7 months ago

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

#5 Updated by Patrick Schriner 7 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF