#24960: Blank pages due to {{ block.super }}
-------------------------------------+-------------------------------------
     Reporter:  srkunze              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Template system      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  block.super blank    |             Triage Stage:
  pages                              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Changes (by srkunze):

 * keywords:  block.super UnicodeDecodeError => block.super blank pages


Old 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 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.

New description:

 When using {{ block.super }}, it behaves like a normal variable which
 leads to the following issue:

 As soon as the block.super raises (e.g.) 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.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/24960#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.b6993c91c4b8a431a3f3b865c88672d6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to