The error message received is:

Maximum choices cannot be larger than the number of choices submitted.

The problem is that the maximum choices available are counted prior to new choices being added in the node_save hook.

The current 'workaround' is adding additional choices, saving the node, re-editing the node, then raising the Maximum choices allowed dropdown to match.

CommentFileSizeAuthor
#1 advpoll_max_choices.patch769 bytesChrisKennedy

Comments

ChrisKennedy’s picture

Status: Active » Needs review
StatusFileSize
new769 bytes

Thanks for the bug report; attached patch should fix the issue after http://drupal.org/node/199160 is fixed.

ChrisKennedy’s picture

Version: master » 5.x-1.x-dev
Priority: Normal » Critical
anders.fajerson’s picture

Status: Needs review » Reviewed & tested by the community

Great.

ChrisKennedy’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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