Opened 6 years ago
Last modified 6 years ago
#30475 closed Bug
Use of i18n_patterns and a buggy 404 template trigger internal server error without a backtrace — at Initial Version
| Reported by: | Erik Stein | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (URLs) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Erik Stein | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
– Using i18n_patterns with prefix_default_language=True,
– trying to get the frontpage URL without a language given in the URL
works in debug mode, but gives an internal server error without any backtrace in production mode.
This was caused by a buggy 404.html template, but probably buggy 404 templates should give a backtrace, too, and i18n_patterns shouldn't be concerned by this anyway.
[draft bug report, I'll try to provide more details later or on request]
Note:
See TracTickets
for help on using tickets.