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

Image property is reset, when validation fails #4

Description

@helhum

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions