# Cannot edit post with a poll

**URL:** https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753
**Category:** Support
**Created:** [December 8, 2018, 8:48am UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753 "2018-12-08T08:48:15Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [December 8, 2018, 8:48am UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/1 "2018-12-08T08:48:15Z")

</div>

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?

> [@Moderators cannot remove polls from posts](https://meta.discourse.org/t/moderators-cannot-remove-polls-from-posts/81804):
>
> Hi all, I searched and saw [some discussion](https://meta.discourse.org/t/polls-cant-be-altered-even-by-moderators-after-5-minutes/13393) on this, but it seems no solution exists (and the topic was more about edited polls rather than removing them). On our forum, we’ve come across an interesting scenario in which a user no longer wants a poll in their post. This is because they are changing the format of the post from a feature request into a support inquiry. They’re not able to delete the poll in their post, so they flagged it asking for moderators to do so… and then I discovered that …

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 8, 2018, 8:56am UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/2 "2018-12-08T08:56:12Z")

</div>

@nbianca can you have a look?

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [December 8, 2018, 11:23am UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/4 "2018-12-08T11:23:37Z")

</div>

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).

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [December 8, 2018, 11:29am UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/5 "2018-12-08T11:29:15Z")

</div>

Hey Bianca!

Sure, we’re trying to edit [this post](https://blenderartists.org/t/challenge-806-voting-closed/1136926) 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.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [December 8, 2018, 1:34pm UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/6 "2018-12-08T13:34:36Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 8, 2018, 4:59pm UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/7 "2018-12-08T16:59:34Z")

</div>

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

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [December 13, 2018, 4:50pm UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/8 "2018-12-13T16:50:30Z")

</div>

Did you find anything wrong with our post?

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [December 13, 2018, 4:58pm UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/9 "2018-12-13T16:58:25Z")

</div>

Hi Bart,

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

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [December 14, 2018, 11:17am UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/10 "2018-12-14T11:17:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [December 14, 2018, 4:00pm UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/11 "2018-12-14T16:00:09Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [January 7, 2019, 10:08am UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/12 "2019-01-07T10:08:51Z")

</div>

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

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [January 30, 2019, 2:57pm UTC](https://meta.discourse.org/t/cannot-edit-post-with-a-poll/103753/13 "2019-01-30T14:57:56Z")

</div>


