CoffeeCake Posted March 2, 2021 Share Posted March 2, 2021 Sometimes when typing a draft, I'll see that someone else has replied popup as a notification. I'll click that notification to see the new message and my post is lost when I go back to the editor. Othertimes, I'll go to reply to a new post and see that a previous post that I have already submitted is in the editor as my draft. I've noticed this here on these forums as well as our own community. Anyone else? Is it just me? I'd like to officially make a feature request that we fix this. Thanks. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted March 2, 2021 Share Posted March 2, 2021 Do some more testing on your side using the developer console of your browser, and monitor the local storage item highlighted below....while I've been typing this, it has save MULTIPLE times (note the topic ID is used in the 'Key') 9 minutes ago, Paul E. said: I'd like to officially make a feature request that we fix this Found a bug? Log a ticket. Link to comment Share on other sites More sharing options...
CoffeeCake Posted March 2, 2021 Author Share Posted March 2, 2021 Just did it here. Saw the editorSave.reply-forums/forums-xxxxxx key appear and disappear over and over again about once per second. Navigated away and came back to thread and confirmed that it did not populate with a saved draft. Not sure why/how it happens. Just using plain ol' up-to-date Chrome with AdBlock Plus. I've seen the behavior on two computers and on mobile Chrome here and on our community, and have members raising the issue. Would love to log a ticket if it's happening to anyone else. Link to comment Share on other sites More sharing options...
CoffeeCake Posted March 2, 2021 Author Share Posted March 2, 2021 (edited) Sitting here with a console window open and watching local storage has proven insightful, @Nathan Explosion. Thanks for the tip. Try composing a reply, hitting submit, and then compose another reply without reloading the window in the same thread. It is reproduceable across three machines and three different browsers. Here's things as I type this reply: @Jordan Invision, it would be lovely if you could get this defect reported. Here's things as I type this reply to a reply after the magical ajax loads my reply above (these replies may get merged). Note there's no editorSave entry. Steps to reproduce: Post in a thread Submit a second post after someone else's content is loaded (Xxxx has posted. Click to show reply.) or attempt to add another reply to the thread without hard reloading the page. Note that ckeditor does not store a draft of your post. This is especially problematic if the new reply is the first post on the next page. Clicking the link erases the editor content and there is no stored copy. Edited March 2, 2021 by Paul E. Link to comment Share on other sites More sharing options...
Management Matt Posted March 3, 2021 Management Share Posted March 3, 2021 I've added this as a bug in our internal tracker. CoffeeCake 1 Link to comment Share on other sites More sharing options...
CoffeeCake Posted March 3, 2021 Author Share Posted March 3, 2021 Here's another, different example, of how this is broken: After posting a reply to a thread, navigating away and looking at other threads, I clicked on a notification that someone had reacted, click on it, see the thread, then decide to add additional thoughts as a new reply. As soon as the editor expanded, I see the previous message I submitted eleven minutes ago in the editor saved as a draft, even though that should be gone now. JeffreyDupree 1 Link to comment Share on other sites More sharing options...
CoffeeCake Posted October 1, 2021 Author Share Posted October 1, 2021 Can we get an update on this bug? Link to comment Share on other sites More sharing options...
Andy Millne Posted October 5, 2021 Share Posted October 5, 2021 @CoffeeCake With your developer tools open do you see any errors? It's possible a js error is causing the local storage entries not to be cleared on save. I'm not able to reproduce the issue however. Could you also please try with ad blocker disabled to see if it's still an issue? Link to comment Share on other sites More sharing options...
CoffeeCake Posted October 5, 2021 Author Share Posted October 5, 2021 I don't have an ad blocker installed. Reply away and let's see if we can reproduce with the instructions I had up here. Link to comment Share on other sites More sharing options...
Andy Millne Posted October 5, 2021 Share Posted October 5, 2021 You mentioned above you had Adblock Plus installed. I have not replied elsewhere since posting my last reply and after following the notification from your reply the editor did not populate my last reply. Local storage is cleared after saving the post as expected in my testing so I suspect a javascript error on save potentially due to a conflict with a browser plugin. before saving after Link to comment Share on other sites More sharing options...
Marc Posted October 11, 2021 Share Posted October 11, 2021 @CoffeeCake Please could you confirm if you can replicate this with all plugins on the browser removed. Unfortunately we cannot replicate our end, so it does seem its an issue on your browser side there, but would like to think we have suggested everything we can to resolve the issue for you Link to comment Share on other sites More sharing options...
CoffeeCake Posted October 11, 2021 Author Share Posted October 11, 2021 (edited) I will try and replicate. Unfortunately, I've been busy on a project and haven't had as much time to engage here. I will install AdBlock Plus again and see if it continues both with and without. Though looking back at what I posted before, I was able to reproduce on mobile Chrome, which has no plugins (no AdBlock plus). I think the key is being on the site when someone replies. Edited October 11, 2021 by CoffeeCake Link to comment Share on other sites More sharing options...
Marc Posted October 12, 2021 Share Posted October 12, 2021 No problem. Please let us know how you go on Link to comment Share on other sites More sharing options...
Recommended Posts