Closed
Bug 1903648
Opened 1 year ago
Closed 1 year ago
Static Files deleted from `STATICFILES_DIRS` erroneously persist in `STATIC_ROOT` after `lando collectstatic` runs
Categories
(Conduit :: Lando, defect)
Conduit
Lando
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
Details
Attachments
(1 file)
The issue in bug 1903647 was obscured and not easily reproducible because of this. The files used to exist and were copied to STATIC_ROOT
at one point on the local machine, but were then removed from STATICFILES_DIRS
. These stale files persisted, and since the references to the files were not also removed, there was no local error. On a different machine that did not have these static files, there was an error due to the files no longer existing and never having being copied.
We can add the --clear
argument to collectstatic
which should clear the STATIC_ROOT
before copying, thus removing all stale files and ensuring this error is always reproducible.
Comment 1•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•