Re: [Django] #20745: {{ block.super }} silences/hides errors

2013-09-06 Thread Django
#20745: {{ block.super }} silences/hides errors
-+
 Reporter:  robin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Template system  |  Version:  1.5
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by aaugustin):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 I'm not aware of any fixes in this area over the last week. Since it was
 reproduced by a core dev and not reproduced by an anonymous I'd rather err
 on the side of caution until we get a third opinion.

-- 
Ticket URL: 
Django 
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/063.c464b3d11411cc01f48bac3cce7ff098%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #20745: {{ block.super }} silences/hides errors

2013-09-06 Thread Django
#20745: {{ block.super }} silences/hides errors
-+
 Reporter:  robin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Template system  |  Version:  1.5
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by bmispelon):

 Just tried it again and the issue is indeed still present.

 Note that if you used the code from my earlier comment, the way to test if
 the issue is still present is to try and render the `bar.html` template.
 The correct behavior is that rendering this template should raise a
 `TypeError`.
 As of now (1.7, 1.6 or 1.5), no exception is raised, which is what the
 original report describes.

 I should have provided an actual testcase but I couldn't find how to
 register a template library for a test.

-- 
Ticket URL: 
Django 
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/063.d04073d58420927f4f31951c918fb0da%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #20745: {{ block.super }} silences/hides errors

2013-09-06 Thread Django
#20745: {{ block.super }} silences/hides errors
-+
 Reporter:  robin|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Template system  |  Version:  1.5
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by anonymous):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This actually works for me on trunk/master using bmispelon's gist, so it
 should have been fixed in some point between 1.6 or 1.7. The only change i
 did to the gist was using `__builtin__` instead of `builtins` for
 python2.7 compatibility. I also tried raising a simple `TypeError`.

 I'm marking this a closed, reopen if it's still happening.

-- 
Ticket URL: 
Django 
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/063.419514ab724a27e9d6137306cb3dd060%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #20745: {{ block.super }} silences/hides errors

2013-07-18 Thread Django
#20745: {{ block.super }} silences/hides errors
-+
 Reporter:  robin|Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Template system  |  Version:  1.5
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by bmispelon):

 * cc: bmispelon@… (added)
 * needs_better_patch:   => 0
 * component:  Uncategorized => Template system
 * needs_tests:   => 0
 * needs_docs:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 I made a small template tag and managed to reproduced the issue easily:
 https://gist.github.com/bmispelon/6031523

 Note that only `TypeError` seems to trigger the bug (I tested with
 `KeyError` or `AttributeError` and they're both propagated correctly).

 Digging a bit deeper, it seems this is a regression introduced by
 4397c587a43ff9bfddd295d48d850676778c6e77.

-- 
Ticket URL: 
Django 
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/063.c50abff10971bfa30d998208bcdeee5e%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.