# Published or dismissed drafts seem to re-appear randomly

**URL:** https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827
**Category:** Bug
**Created:** [12 Aprile 2017, 8:24am UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827 "2017-04-12T08:24:40Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [12 Aprile 2017, 8:24am UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/1 "2017-04-12T08:24:40Z")

</div>

I understand that currently discourse can only handle one unpublished draft and that this draft is shared across devices, right? It works fine and I love it, but every now and then, when I start a new reply to a topic, the editor contains an old draft of some previous reply which I either dismissed or which I already published (possibly from another device). So it looks like drafts are also stored locally but not deleted under certain circumstances such as when the draft is published from another device.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12 Aprile 2017, 5:43pm UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/2 "2017-04-12T17:43:42Z")

</div>

One draft _new topic_, but one draft _reply_ for every topic.

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [15 Aprile 2017, 12:31am UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/3 "2017-04-15T00:31:05Z")

</div>

> [@codinghorror](#):
>
> but one draft reply for every topic.

Earlier this week, I started a reply in one topic, then navigated to another topic and posted it there. When I returned to the first topic (on a different device), my “draft” post was still there. That sounds like what Christoph is describing.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [15 Aprile 2017, 1:20am UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/4 "2017-04-15T01:20:59Z")

</div>

Is there a specific repro?

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [15 Aprile 2017, 9:27pm UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/5 "2017-04-15T21:27:36Z")

</div>

Not sure. I’ve only had it happen once, and attempting to reproduce it now on try, I’m not seeing it.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [31 Ottobre 2019, 9:34pm UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/6 "2019-10-31T21:34:08Z")

</div>

> [@tophee](#):
>
> Funziona bene e mi piace molto, ma ogni tanto, quando inizio una nuova risposta a un argomento, l’editor contiene una vecchia bozza di una risposta precedente che ho scartato o che ho già pubblicato (forse da un altro dispositivo).

Penso di aver risolto questo problema di recente.

Avevamo una chiave bozza “createtopic”, una chiave bozza “reply as new topic” e una chiave bozza “new topic”.

Ciò causava ogni sorta di confusione. Ora tutto è normalizzato.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [1 Novembre 2019, 12:44am UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/7 "2019-11-01T00:44:59Z")

</div>

> [@sam](#):
>
> In passato avevamo una chiave di bozza “createtopic”, una chiave di bozza “reply as new topic” e una chiave di bozza “new topic”.
> 
> (…) Ora le cose sono normalizzate.

Quindi cosa abbiamo ora? Solo una normale chiave di bozza?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [1 Novembre 2019, 12:47am UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/8 "2019-11-01T00:47:12Z")

</div>

Abbiamo:

1. Chiave unica per “nuovi argomenti”
2. Chiave unica per “nuovo messaggio”
3. Chiave unica per “argomento” (copre: risposta come nuovo argomento, risposta come messaggio privato, modifica post, risposta all’argomento)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [4 Novembre 2019, 7:00am UTC](https://meta.discourse.org/t/published-or-dismissed-drafts-seem-to-re-appear-randomly/60827/9 "2019-11-04T07:00:13Z")

</div>

Questo argomento è stato chiuso automaticamente dopo 3 giorni. Non sono più ammesse nuove risposte.
