#5739: Image and File Fields edited inline do not exhibit 'expected' behaviour ---------------------------+------------------------------------------------ Reporter: Lllama | Owner: nobody Status: new | Component: Admin interface Version: newforms-admin | Keywords: imagefield admin error Stage: Unreviewed | Has_patch: 0 ---------------------------+------------------------------------------------ When inline editing a model with an ImageField the admin application will 'incorrectly' display error messages (for my version of incorrectly). If the parent model already has associated images and the user attempts to upload a new one then an error is produced on the existing child field, stating that a file is required, even though one is already present.
I assume that this is due to the ImageField being validated using only the POST data, when a check should be performed to see whether an image already exists. Under the old core fields method this allowed an instance to be deleted, but since we now have delete buttons I don't see why the additional check can't be made. -- Ticket URL: <http://code.djangoproject.com/ticket/5739> Django Code <http://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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
