#28927: include tag fails silently if included template's static tag fails
-----------------------------------------+------------------------
               Reporter:  sodds          |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  1.11
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 This bug happens under the following conditions:
 1. Static files storage is ManifestStaticFilesStorage
 2. Parent template includes child template with {% include 'child.html' %}
 tag
 3. Child template uses {% load static %} at the top and uses {% static
 'missingfile.css' %}
 4. Referenced static file does not exists (or is missing from .json
 manifest)

 The actual result is that the parent template renders fine but the child
 template does not get included

 The expected result is an error, e.g. a status code 500

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28927>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/048.f1c36eaf721b133a358adbe570a57922%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to