Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Image property is reset, when validation fails #4

Open
helhum opened this issue Sep 17, 2014 · 1 comment
Open

Image property is reset, when validation fails #4

helhum opened this issue Sep 17, 2014 · 1 comment
Labels

Comments

@helhum
Copy link
Owner

helhum commented Sep 17, 2014

To reproduce:

  1. Edit object with a image property
  2. Select a new image to upload
  3. Make another property invalid so that validation will fail upon saving
  4. save and fix the other property
  5. save again

The object now has the original image attached.

This happens because the file reference is not persisted when validation fails (which is good) and the original file reference identifier is stored in the form (also good) but no reference to the newly uploaded image is kept (this is the bug)

@alsodenn
Copy link

Any news here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants