Poll posts may not survive approval queue?


(Joshua Rosenfeld) #1

So I was looking to play around with CSS on polls, but creating a poll on Try resulted in a broken poll:
https://try.discourse.org/t/testing-poll-css/600

Here is what I attempted to enter (note that it works OK here on Meta):

[poll type=multiple min=1 max=4]
* A
* B
* C
* D
[/poll]
  • A
  • B
  • C
  • D

0 voters


(Arpit Jalan) #2

I created exact same poll on try and it’s working as expected: https://try.discourse.org/t/polls-are-broken/601

I wonder if polls break when the post is in approval queue? :thinking:

(Joshua’s poll topic on try was in approval queue and I approved it)


(Joshua Rosenfeld) #3

Does rebuilding the HTML fix it?


(Arpit Jalan) #4

Nope, tried that already.


(Jeff Atwood) #5

If this is an approval issue it is ultra low priority


(Joshua Rosenfeld) #6

Are we sure this is an approval issue? Arpit seemed to be thinking out loud, not confirming…


(Jeff Atwood) #7

Meta and try run the same code.


(Joshua Rosenfeld) #8

Understood. Polls seem to be working fine here and on try at the moment - I’m concerned if the issue was approval, or something else (TL0, network, etc.)


(Alan Tan) #9

@jomaxro I managed to repro this locally and I think you’re right that posts with a poll in the approval will result in the poll being permanently broken even if we try to rebake it. I’m looking into the root cause now.


(Alan Tan) #10

PR in

Good catch @jomaxro


(Jeff Atwood) #11