Cannot edit post with a poll

Both moderators and staff on our forum cannot edit a post that contains a poll that was created several days ago - we always get the following error: ‘You cannot change a poll after the first 5 minutes’.

We’re on the latest build.

Might be a regression of this issue?

إعجابَين (2)

@nbianca can you have a look?

3 إعجابات

Could you give an example when this is happening? I’m asking this because I can edit the post, but not the poll, and this is the expected behaviour (for admin and moderators).

3 إعجابات

Hey Bianca!

Sure, we’re trying to edit this post which, I admit, is rather long. My moderator is trying to insert a graphic at the very top, and in my own tests it also fails to save if I make other changes, like adding a line to the bottom. We’re not making any changes to the poll itself though.

I can send you the raw post in a PM if that helps.

4 إعجابات

Hi Bart!

I would really appreciate if you could send me the raw post, because I cannot reproduce it and this would be a great help to me. Please enclose it into [code] tags.

4 إعجابات

You can get the raw by going to https://blenderartists.org/raw/1136926/1 :wink:

5 إعجابات

Did you find anything wrong with our post?

Hi Bart,

I cannot reproduce it. Can you tell me if this is happening for other polls or is just this one?

إعجاب واحد (1)

This is the only one so far. Since this is a weekly challenge we may run into it again - I’ll keep an eye on it.

إعجابَين (2)

Follow-up: my moderator just posted this:

I just figured it out. It seems that the editing block is only engaged when the poll is closed . If I temporarily re-open the poll, I can edit the post without any issue at all.

5 إعجابات

That was helpful and it was fixed in:
https://github.com/discourse/discourse/pull/6788

9 إعجابات