CRUD module forgets user-entered values for fields for non-saved entities on validation error
Bug #598359 reported by
AMcBain
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Field such as:
@ManyToOne
public Media parent;
are rendered as selects in the entity editor pages. If a user changes the value of the select then submits the form and there is a validation error, when the form is reloaded the user-chosen value for the select is forgotten. The select will default to the first value again.
Related branches
Changed in play: | |
status: | New → Fix Committed |
milestone: | none → 1.1 |
To post a comment you must log in.
This problem is only manifested in new entries. Ones which have already been saved to the database (and are being re-edited) do not seem to have this problem.