The discussion addresses a bug where changing the close date of a poll during the ninja edit period does not update the scheduled sidekiq job, causing the poll to close at the original time instead of the new one. md-misko explains the steps to reproduce the issue, noting that while the poll display updates to reflect the new close date, the underlying job remains unchanged. Falco clarifies that poll attributes like the close date cannot be edited due to parsing limitations from the BBCode syntax, which makes it difficult to extend poll functionality. md-misko initially expected the behavior to mirror topic timers, which do update when dates change. Falco confirms that only the poll options can be edited, not the attributes like close date, which are locked due to technical constraints. md-misko concludes that the only way to modify such settings is to delete and recreate the poll.
This all comes from a, in hindsight, bad choice we made of picking bbcode for the poll syntax, which in turns makes it a pain to parse and extend the attributes over the years.
@cvx was working on poll attributes recently right?
I’m not sure I understand? One can edit the poll for the first 5 minutes, it’s just that when the close poll date is set, the sidekiq job is created, and is not updated with the edited time?