#1012 closed defect (wontfix)
[patch] ManyToMany not working in Manipulators when the form control isn't of the same style as the control in the admin
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
ManyToMany not working in Manipulators when the form control isn't of the same style as the control in the admin
For instance, if raw_id_admin=True, the admin will show an editbox, but if you use a select-multiple in your app, manipulator.save() will only save the first selected item.
A patch has been submitted.
Attachments (3)
Change History (4)
by , 19 years ago
Attachment: | coremeta.diff added |
---|
by , 19 years ago
Attachment: | coremeta2.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I'm very much unclear on what this does (the patch doesn't seem to have any explanation of what it's doing). I'm also worried by the bare except
clause in there, and by the monkeying with type-checking.
Finally (and this why I'm marking WONTFIX), this is easy enough to work around at the manipulator level. The automatic manipulators do (and should) take into account admin options, so if you want to use a public view differently, write a different manipulator.
re-submitting without the debugging stuff