upload_example icon indicating copy to clipboard operation
upload_example copied to clipboard

Image property is reset, when validation fails

Open helhum opened this issue 11 years ago • 1 comments

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)

helhum avatar Sep 17 '14 12:09 helhum

Any news here?

alsodenn avatar May 18 '16 07:05 alsodenn