CoffeeCake Posted March 2, 2021 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.
Nathan Explosion Posted March 2, 2021 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.
CoffeeCake Posted March 2, 2021 Author 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.
CoffeeCake Posted March 2, 2021 Author 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.
Management Matt Posted March 3, 2021 Management Posted March 3, 2021 I've added this as a bug in our internal tracker. CoffeeCake 1
CoffeeCake Posted March 3, 2021 Author 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
Andy Millne Posted October 5, 2021 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?
CoffeeCake Posted October 5, 2021 Author 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.
Andy Millne Posted October 5, 2021 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
Marc Posted October 11, 2021 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
CoffeeCake Posted October 11, 2021 Author 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
Recommended Posts