Opened 4 years ago

Closed 4 years ago

#19111 closed Uncategorized (duplicate)

CachedFilesMixin Shouldn't Fail on Missing Files

Reported by: Matthew Tretter Owned by: nobody
Component: contrib.staticfiles Version: 1.4
Severity: Normal Keywords: staticfiles
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

I appreciate the reasoning for the ValueError in hashed_name(), but I think they should be suppressed (converted to warnings) in the post_process() loop. A single bad URL shouldn't prevent you from collecting your other static files—especially when it may occur in a third party app.

Change History (2)

comment:1 Changed 4 years ago by Aymeric Augustin

Component: File uploads/storagecontrib.staticfiles
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

Duplicate of #18958.

comment:2 Changed 4 years ago by Aymeric Augustin

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top