Issue Feature Closed

#98454Allow language parameter for 404 handling

Guido Schmechel 09/27/22, 19:45 updated 04/12/25, 12:11

Description

Some context: We have defined three languages for one client. The first language is for support only, has ID 0 and is disabled. One requirement is that no matter what language B is used as the 404 page. One requirement was that there is no root page with / but only /isocode. This means that all general routes (sitemap.xml and so on) now end up in the language 0. Instead of a 404, we get an exception.

Yes, the construct is unfortunately intentional…

It would help us if we could specify a language parameter in the 404 handling for the page that is used in these exceptional cases.

Reviews 1

History 517

  1. Gerrit Code Review pushed patch set 1 for main to change 75882 status New Under Review 09/27/22, 19:57

  2. Gerrit Code Review pushed patch set 2 for main to change 75882 09/27/22, 20:08

  3. Oliver Hader changed Sprint Focus On Location Sprint 11/03/22, 09:14

  4. Benni Mack changed target version 04/05/23, 09:54

  5. Gerrit Code Review pushed patch set 3 for main to change 75882 07/04/23, 20:11

  6. Gerrit Code Review pushed patch set 4 for main to change 75882 07/05/23, 07:13

  7. Gerrit Code Review pushed patch set 5 for main to change 75882 07/05/23, 07:13

  8. Benni Mack changed Sprint Focus On Location Sprint 08/02/23, 13:05

  9. Gerrit Code Review pushed patch set 6 for main to change 75882 08/03/23, 19:02

  10. Gerrit Code Review pushed patch set 7 for main to change 75882 08/07/23, 20:52

  11. Gerrit Code Review pushed patch set 8 for main to change 75882 11/01/23, 21:59

  12. Gerrit Code Review pushed patch set 9 for main to change 75882 01/31/24, 07:00

  13. Gerrit Code Review pushed patch set 10 for main to change 75882 01/31/24, 07:02

  14. Gerrit Code Review pushed patch set 11 for main to change 75882 10/18/24, 13:40

  15. Gerrit Code Review pushed patch set 12 for main to change 75882 04/11/25, 21:12

  16. Guido Schmechel commented 04/12/25, 11:52

    The patch is abandoned because the edge case is no longer reproducible in version 11.5 and it is solved correctly.

    As there was generally little interest and this logic could also be solved with a separate ErrorHandler, the issue can be closed.

  17. Benni Mack commented and changed status Under Review Closed 04/12/25, 12:11

    Thanks for the collaboration and feedback!