#26527: Bug in HashedFilesMixin StaticFileStorage
-------------------------------------+--------------------
Reporter: joshblum | Owner: nobody
Type: Bug | Status: new
Component: contrib.staticfiles | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+--------------------
There seems to be a bug here if there are nested assets. For example, if i
have `index.js` which references a partial `index.html`, if `index.js` is
processed first, `index.html -> index.<hash-key>.html`. Then if
`index.html` is processed and rehashed (i.e. this file contains references
to `index.png`), the `<hash-key>` inside of `index.js` in incorrect, since
`index.html` was rehashed to account for it's own static assets. It seems
like instead of just substituting the pattern here, we need to recursively
rehash the file so the ordering is preserved. Thoughts?
--
Ticket URL: <https://code.djangoproject.com/ticket/26527>
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/051.c054f5f1f5f97fd05d70b3c49143296f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.