Closed (fixed)
Project:
Chosen
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2013 at 08:03 UTC
Updated:
3 Oct 2013 at 07:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
nwom commentedI also get the following error message on the node add page. Maybe it has something to do with the same problem:
Notice: Undefined index: #multiple in chosen_pre_render_select() (line 182 of C:\inetpub\wwwroot\sites\all\modules\chosen\chosen.module).
Comment #2
patrickroma commentedSame here...
Comment #3
patrickroma commentedSame here...
Comment #4
jdidelet commentedpatch attached for error related to #multiple
Comment #5
jdidelet commentedattached new patch who resolve both problems.
Comment #6
hydra commentedWell I'm not very happy with this solution. In the near future there will be a whole lot of configurable options introduced by #2076813: Move library options (configuration) to library plugin.
Anyway, till this is going to happen, I'm happy with this quickfix. Thanks for sharing the patch!
Pushed to 7.x-2.x http://drupalcode.org/project/chosen.git/commit/5ff10ed
Comment #7
jdidelet commentedAh yes sorry. I probably didn't do in the most efficient way because I'm not aware of all of this for chosen module. It was just a quick patch to resolve this blocking point because I myself use this module for my projects. Anyway, thanks for your work on this module. I'll try to be more careful next time I'll submit a patch (or just mention it's a quick dirty patch :)).
Comment #8
azovsky commentedFix from #5 breaks work of multi-selection (ability to select only one item) if on the page has other chosen fields.
So, here's my attempt to fix it in the patch.
Comment #9
nwom commentedLike what azvosky said, the fix then broke my Organic Groups audience widget. After applying fix #8 on top of the already committed patch, both problems have now been fixed. Thank you very much jdidelet and azovsky!
Comment #10
attiks commentedThanks, bumping to critical
Comment #11
hydra commentedThanks for the fix azovsky and thanks for the review attiks! Pushed to 7.x-2.x http://drupalcode.org/project/chosen.git/commit/d431aa2
Comment #12
hydra commentedComment #13.0
(not verified) commentedTypos corrected