#26772 closed Bug (fixed)
FileField should re-open closed files
Reported by: | Paul J Stevens | Owned by: | Tim Graham |
---|---|---|---|
Component: | File uploads/storage | Version: | 1.10 |
Severity: | Release blocker | Keywords: | regression |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Refactoring of django.db.models.fields.files has introduced a regression that popped up while working on 1.10 compatibility for Wagtail-cms.
FieldFile._get_file should re-open a closed file as it did before 1.10.
I'll file a PR on GH.
Change History (11)
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Severity: | Normal → Release blocker |
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:6 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Yes. I created a new PR to add the tests for these regressions.
Note:
See TracTickets
for help on using tickets.
Hi,
I'm not familiar with the who
File
system but the test you provided in your PR already fails on the 1.9 branch which indicates that this might not be a regression.Can you craft or decribe a testcase that currently works on 1.9 but fails on 1.10?
Thanks.