validation shouldn't take place when deleting inline objects
|Reported by:||Antti Kaihola||Owned by:||nobody|
|Severity:||Keywords:||nfa-someday inline delete validation newforms|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
As noted originally in a comment to #5828, I noticed a slight usability problem with inline editing. I have a related model which only has a foreign key to the parent model and an e-mail field. So in the inline view I see the e-mail field and the delete checkbox. If I both clear the e-mail field and check the delete checkbox, I get a validation error for the blank e-mail address, which doesn't make sense since I'm removing it anyway.
Brosner commented: "Interesting point. Sounds like the deletion needs to happen before any validation. akaihola, could you open a new ticket about that. That is unrelated to this ticket, but is a good point. I'd hate for this ticket to be fixed and your issue doesn't get fixed as it should."
Change History (12)
comment:5 Changed 9 years ago by
|Triage Stage:||Unreviewed → Design decision needed|