The module chokes on signup forms with fieldsets in them which contain form elements, causing errors to be thrown when viewing pages that list individual sign ups:

	htmlspecialchars() expects parameter 1 to be string, array given in /home/unionsites/public_html/includes/bootstrap.inc on line 597.

And the data is not shown on the page.

This is because the signup module is not set up to traverse a from with a tree hierarchy more than one level deep when outputting the data.

Comments

dww’s picture

yup, sounds like an accurate assessment of the problem. if you can, please provide a patch to fix it. ;)

thanks,
-derek

hunmonk’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new3.1 KB

attached patch fixes the issue on the DRUPAL-5 branch of the module -- should be ported to other versions.

since the stored data doesn't really contain enough information to provide meaningful fieldset titles on output, i've simply enclosed the relevant fieldset data in divs with an id equal to the fieldset key. this should at least allow themers some control over the sections.

dww’s picture

Status: Needs review » Needs work

yay, this is great (chad and i were sitting next to eachother when we wrote it).
however, we forgot about the emails... ;) that will need cleanup to work right, too.

hunmonk’s picture

Assigned: Unassigned » hunmonk
Status: Needs work » Needs review
StatusFileSize
new4.3 KB

this version handles emails as well -- tested as working on my local install.

dww’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new4.35 KB

here's the DRUPAL-4-7 backport patch. down with 4.6.x. ;) reviewed, tested -- RTBC. thanks!

hunmonk’s picture

Status: Reviewed & tested by the community » Fixed

committed to 4.7, 5.0 and HEAD. the code should now handle nested values regardless of depth.

Anonymous’s picture

Status: Fixed » Closed (fixed)