I’m not sure if this is a bug, a feature request, or UX. I have a user who succeeded in saving two polls in the same post with this incorrect syntax, with spaces and a question mark in the name and an extra “=poll” in the middle.
[poll type=single=poll name=One two three?] - another theme - one theme [/poll] [poll type=multiple=poll name=Four five six?] - I would like to do one thing. - I would like to do another thing [/poll]
Weirdly, the polls worked for a few days and people were able to vote. Then today there were complaints about not being able to vote. I then went in to edit the post to see what was going on, fixed the syntax and had some difficulty saving… I kept getting a cryptic “500 error”. Only by removing the name from the first poll was I able to succeed in saving the post, but then all the existing votes had disappeared.
I did do an update to discourse over the weekend, and have the elections plugin installed, so there may be some particularities of my setup at play. On try, the polls seem to work.
I’ve explained to the member to use the build polls feature on the menu in future, which does a pretty good job of creating polls without errors. But users will try to experiment with markdown syntax and it would be nice to have better error handling.