Opened 9 years ago
Last modified 9 years ago
#24960 closed Bug
{{ block.super }} hides UnicodeEncodeErrors — at Initial Version
Reported by: | Sven R. Kunze | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | dev |
Severity: | Normal | Keywords: | block.super blank pages |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | yes |
Description
When using {{ block.super }}, it behaves like a normal variable which leads to the following issue:
As soon as the block.super raises a UnicodeEncodeError, {{ block.super }} evaluates to an empty string.
When using {{ block.super }} in cascading base templates, this frequently leads to blank pages which are hard to debug.
Note:
See TracTickets
for help on using tickets.