I have a CCK field where I use Multiselect with field type Term Reference. Just updated to version 7.x-1.11. I now get the following when in edit mode on every node that I use Multiselect:

Notice: Undefined index: value in _multiselect_build_widget_code() (line 244 of /www/drupal/mywebsite/sites/all/modules/multiselect/multiselect.module).

My website still works normally and I can even do updates to pages and they save normally. However, the above warning displays multiple times when in Edit mode.

I've also noticed that if I go into edit the field where I use Multiselect there is a notice that says:

You need to specify the 'allowed values' for this field.

I'm not sure why it would be asking that since I'm using Term Reference.

Any thoughts on these two items will be most appreciated. Thanks.

CommentFileSizeAuthor
#2 multiselect.fix_.notices.patch3.19 KBvensires
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

steven_kropp’s picture

Same issues here.

vensires’s picture

Status: Active » Needs review
FileSize
3.19 KB

Please check the included patch.

attheshow’s picture

I just added this patch to the dev version of the module. Please test and let me know if it fixes the notices you're seeing.

  • vensires authored 1eb66f0 on 7.x-1.x
    Issue #2527428 by vensires: Warning notices after module update
    
bill_redman’s picture

Just installed the dev version (7.x-1.x-dev) and the notices are gone. I still get the You need to specify the 'allowed values' for this field message when editing the field where I use Multiselect, but I can live with that since it does not cause any problems.

Many thanks for the quick attention to this issue.

vincer’s picture

Worked for me on v.7.x-1.11. Thanks.

cpierce42’s picture

Status: Needs review » Reviewed & tested by the community

Was getting same behavior.

Tested on Multiselect 7.x-1.11

Works.

Toche’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Tested and works!!
Multiselect 7.x-1.11
Thank you!!

wescleyteixeira’s picture

Patch #2 worked for me.

Thanks!!

maxperience’s picture

Patch #2 worked for me too. Thank you very much

emerham’s picture

Bump for release?

masipila’s picture

+1 for the request to cut a new stable release with this bug fix included.

Cheers,
Markus

venugopp’s picture

This patch has a problem with FAPI. the following patch will fix the issue.
https://www.drupal.org/node/2770445

attheshow’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.