Confluence Polls: anyone have this plugin working?

We have a few users who would like to play around with it but it doesn't seem to work. Here's what I'm doing:

  1. create a new page
  2. insert 'Poll' Macro

I then get this message in the "Insert 'Poll' Macro" popup:

Error rendering macro 'poll-macro' : java.lang.NumberFormatException: For input string: "hidden field value"

Has anyone else experienced this? Does anyone have this plugin working?

We're on Confluence 5.1.2, and the plugin is v1.3 (both latest)

7 answers

1 accepted

You can kinda work around it if you want to use the macro anyway:

  1. Edit the page and chose the macro.
  2. Get the format exception.
  3. Click "insert" anyway.
  4. You should now be back at the normal editing page and the cursor should be inside the macro. Here you can type in the desired poll title.
  5. Save the page. You can now add Votepotions on the normal page (=not in edit mode).

I've replicated this behaviour here as well. I'll continue to investigate this, and file a bug if needed.

It seems like this is not something that's ready for prime-time ... our users aren't willing to work with the workaround, so we're putting this on hold.

Sadly, this means my plans for Atlassian product domination cannot yet be complete. :)

When saving the page with the inserted Polls macro, I get this error on the rendered page:

Error rendering macro 'poll-macro' : java.lang.NumberFormatException: For input string: "hidden field value"

There is no option to add Voteoptions...


Workaround is not working for us, same error. Confluence Polls Version: 1.3 Confluence Version 5.1.1 Can we expect an Update soon that fixes this Problem? Many thanks!

I followed the workaround and it worked. But when I refresh the page, the Voteoptions I've added disappear — the page reverts to its "saved" state with only poll title visible.

I'm experiencing the exact same behavior. It occasionally loads, but adding any Vote Options get lost on refresh and attempts to edit the macro just revert it back to the error.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

143 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you