Opened 12 years ago

Closed 11 years ago

#2213 closed defect (wontfix)

when an AddManipulator returns with errors, the foreign key field chosen is not shown

Reported by: lawgon@… Owned by: nobody
Component: Validators Version:
Severity: major Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When using AddManipulator on a model with a foreign key, when the form is returned with errors, the foreign key choice is not shown on the form although the view is aware of it.

Change History (5)

comment:1 Changed 12 years ago by Kenneth Gonsalves

to elaborate, if one has a select field, on errors, when the form is returned, the choice chosen in the select field is shown. But in the drop down list for a foreign key field, the choice is not shown - only the ------ is shown, although the manipulator remembers the item chosen

comment:2 Changed 12 years ago by anonymous

on investigation of, i find that the ForeignKey appears to be treated as a SelectField. The population of the data in the SelectField is restricted to 'choices' if defined. The case of foreign key is not covered. Now to try to write a patch for that!

comment:3 Changed 12 years ago by anton@…

Same problem occurs with ChangeManipulator too

comment:4 Changed 11 years ago by Chris Beaven

Triage Stage: UnreviewedDesign decision needed

looks valid, but are we still worried about Manipulators?

comment:5 Changed 11 years ago by Russell Keith-Magee

Resolution: wontfix
Status: newclosed

Development effort on oldforms has halted, so I'm marking this as a wontfix.

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