Opened 6 years ago

Closed 6 years ago

#11720 closed (fixed)

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

Reported by: zain Owned by: zain
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:


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 6 years ago by zain

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to zain
  • Patch needs improvement unset
  • Status changed from new to assigned

comment:2 Changed 6 years ago by zain

  • Resolution set to fixed
  • Status changed from assigned to closed

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