#30908: FilePathField raises FileNotFoundError for nonexistent path.
----------------------------+------------------------------------------
Reporter: Jason Held | Owner: Hasan Ramezani
Type: Bug | Status: closed
Component: Forms | Version: 2.2
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------+------------------------------------------
Changes (by felixxm):
* status: assigned => closed
* resolution: => wontfix
* severity: Release blocker => Normal
Comment:
Sorry for the previous acceptance, but it is
[https://docs.djangoproject.com/en/2.2/ref/forms/fields/#django.forms.FilePathField.path
documented] from the very beginning that `"This directory must exist"`
(see 4457ba002d64d4a991b0561c5be69a8c61b2b828). We removed catching
`OSError` in Django 2.2, but it was untested and undocumented behavior.
--
Ticket URL: <https://code.djangoproject.com/ticket/30908#comment:6>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.deb483409593b2bc944fcd5b44644d24%40djangoproject.com.