Opened 9 years ago
Last modified 9 years ago
#24960 closed Bug
{{ block.super }} hides UnicodeDecodeErrors — at Version 1
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 (last modified by )
When using {{ block.super }}, it behaves like a normal variable which leads to the following issue:
As soon as the block.super raises a UnicodeDecodeError, {{ 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.
Change History (1)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|---|
Keywords: | UnicodeDecodeError added; UnicodeEncodeError removed |
Summary: | {{ block.super }} hides UnicodeEncodeErrors → {{ block.super }} hides UnicodeDecodeErrors |
Note:
See TracTickets
for help on using tickets.