Closed (fixed)
Project:
Chosen
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2012 at 14:13 UTC
Updated:
31 Jul 2013 at 20:17 UTC
Jump to comment: Most recent file
Sometimes, when field_ui_field_edit_form is not fully initialized (in case it is 'locked' for example) a PHP notice appears:
Notice: Undefined index: instance in chosen_form_field_ui_field_edit_form_alter() (line 55 ...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | chosen-fix-widget-type-check-1720846-0.patch | 1.39 KB | OnkelTem |
Comments
Comment #1
OnkelTem commentedComment #2
shadcn commentedFixed. Thanks.
Comment #4
OnkelTem commentedYou don't use provided patch as is, do you? :)
UPDATE Ops. You haven't committed it yet.
Comment #5
OnkelTem commentedComment #6
inwebsebastian commentedHow can i install te patch, have to rewrite the code? chosen.module? Im from Argentina, sorry my english!
Comment #7
shadcn commented@inwebsebastian, please see http://drupal.org/patch/apply. Let we know if you need any help.
Comment #8
makokis commentedthis patch #1 helped me to solve my error:
Notice: Undefined index: instance in chosen_form_field_ui_field_edit_form_alter() (line 55 ...
thanks.
Comment #9
theo_ commentedThis patch works for me too.
Comment #10
hydra commentedAs far as I can tell, the patch has been committed, see http://drupalcode.org/project/chosen.git/commit/3f674a9
You need to update your version of chosen to the dev version to have the committed patch applied, since a new stable release has been made.