Opened 7 years ago

Closed 7 years ago

#11720 closed (fixed)

When an OrderField is on an inline and there are empty inlines, saving throws an error

Reported by: Zain Memon Owned by: Zain Memon
Component: contrib.admin Version: soc2009/admin-ui
Severity: Keywords: admin-ui
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

1) Have an inline with an OrderField
2) Click "Add new inline" a couple times to create some empty inlines (with pre-filled OrderField values)
3) Hit save and notice errors above the new empty inlines that aren't considered empty because the OrderField is filled in

The Order field should be excluded from the check that figures out if a new inline has data.

Change History (2)

comment:1 Changed 7 years ago by Zain Memon

Owner: changed from nobody to Zain Memon
Status: newassigned

comment:2 Changed 7 years ago by Zain Memon

Resolution: fixed
Status: assignedclosed

r11462: [soc2009/admin-ui] Fix for ticket #11720: "When an OrderField? is on an inline and there are empty inlines, saving throws an error"

If the only things changed in an empty form are OrderField?(s), it is treated as untouched.

Note: See TracTickets for help on using tickets.
Back to Top