Opened 15 years ago

Closed 15 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: no UI/UX: no

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 by Zain Memon, 15 years ago

Owner: changed from nobody to Zain Memon
Status: newassigned

comment:2 by Zain Memon, 15 years ago

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