I get this PHP error message when (un)publishing content containing a pollfield:

Invalid argument supplied for foreach() in ...... www/drupal6/sites/all/modules/pollfield/pollfield.module on line 715.

This only happens when I use the the (un)publishing option at admin/content/node. Using the publishing option on the node itself doesn't throw this error.

Unpublishing and republishing from admin/content/node deletes all responses, basically all settings of the pollfield seem to be lost. Again, nothig is lost when I use the publishing options on the node itself.

Comments

mario_prkos’s picture

Your right, this is bug, I fixed it in dev version you can try it. I did basic testing of this bug and for now I didn't find any more problems.

Thanks for point it out.

mario_prkos’s picture

dddave’s picture

Version: 6.x-1.6-beta1 » 6.x-1.x-dev
Status: Active » Fixed

Seems to be fixed. Thx!

dddave’s picture

This issue is fixed but the fix seems to have introduced another bug:

#610442: Empty answerfields displayed

Status: Fixed » Closed (fixed)

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