Published article stays in editor


(John ) #1

I’ve noticed this here as well as our instance.

To reproduce:

  1. Create a new topic (T1)
  2. Go to another page
  3. Create another new topic (T2)

On step 3, the editor is still populated with the topic from step 1, but there is no indication that T1 has actually been published. It’s disconcerting because I think I may not have already published T1, so then I go look for it before “abandoning” the text that is still in the editor on step 3.

Update:

This time when I attempted to reproduce, it showed the previous topic in the editor, T0.


(Jeff Atwood) #2

@techapj can you reproduce this here or on try.discourse.org?


(Tobias Eigen) #3

I think this is normal, desired behavior. Did you actually save your T1 post? If not it will remain available in composer until you do even when you click to another topic.


(Jeff Atwood) #4

Did you save (post) the first topic? Perhaps I misunderstood your repro steps.

There can only ever be one new topic draft at any given time.


(John ) #5

Yes, that’s why this is problematic. I will try to repro again.


(John ) #6

Repro’d here (I though I was recording with my microphone muted, so you can mute the video without missing anything):

After the video finished, I went to an incognito window and logged into Discourse to test without chrome extensions that might be causing trouble.

Here’s what happened in that new incognito session:

  • The very first topic I published in that session did not have the issue.

  • So thinking I had determined that it was an extension, I created another topic. Unfortunately, the bug cropped up again. Note that the create a new topic contents are identical to the latest post in my activity feed;


(Jeff Atwood) #7

Sure, @techapj can you repro following the above steps?


(Arpit Jalan) #8

Yes, I was finally able to repro this bug! :bug:

Thanks for the detailed repro steps and video @john_mardlin, I really appreciate it. :+1:


(Arpit Jalan) #9