This might be a bug, but I’m not sure why this doesn’t work:
Steps to Reproduce.
venture into a Topic
go to bottom of Topic and hit Reply
start drafting your Topic in the Composer
hit the down arrows to minimise the Composer
Close the Composer
when prompted, save your Draft
Hit the Reply button again
Expected result:
Actual result:
Draft is nowhere to be seen!
HOWEVER
The draft exists in my list of drafts
If I refresh the Topic, the Composer will auto-open and the draft will pop up.
This looks like a missed opportunity - or is it deliberate?
4 likes
Ethsim2
(Ethan )
12 juli 2025 om 08:18
2
Ik heb altijd gedacht dat het opzettelijk was. Ik merk echter dat na het proberen om een nieuwe versie te schrijven waar de oude versie was, je een prompt krijgt om te blijven/herladen.
mcwumbly
(Dave McClure)
13 juli 2025 om 01:36
3
@davidb can you take a peek at this one?
It sounds similar to what you’re working on here, but I’m not sure it’s the exact same issue:
main ← load-post-draft-from-reply-btn
opened 03:26PM - 09 Jul 25 UTC
In the past we have always relied on automatically opening the composer and auto… loading the existing draft when visiting a topic that has a draft post reply. This is fine to auto load the draft, but when the composer is closed and reopened on the same page then we have an issue.
The result is that the draft is then deleted because the draft key is set and the composer body is blank, since it has never been populated when clicking the reply to post button.
To solve this we can check for existing drafts when clicking the reply to post button, then load the draft into the composer.
_The challenging part of this change is that we have a number of tests that were relying on a false positive. Hence in the specs I have switched some tests to use a fixture that does not have drafts and in some cases kept the same fixture but mocked the response as having no drafts returned._
Internal ref: /t/-/158209
I did a quick test myself, and it does look like the PR fixes this.
3 likes
davidb
(David B)
14 juli 2025 om 07:21
5
Bedankt voor de melding en de repro, de PR die @mcwumbly hierboven deelde, zal dit oplossen. Als er geen problemen zijn, zal deze deze week worden samengevoegd.
3 likes
davidb
(David B)
16 juli 2025 om 08:03
6
Dit is gisteren samengevoegd, ik heb een concept over dit onderwerp getest en het lijkt correct te werken.
1 like
davidb
(David B)
gesloten
19 juli 2025 om 08:03
7
Dit onderwerp werd automatisch gesloten na 2 dagen. Nieuwe reacties zijn niet meer toegestaan.