Comments on submitted bugs are re-populated if user chooses to show next bug in my list after changing a bug
Categories
(bugzilla.mozilla.org :: Bug Creation/Editing, defect)
Tracking
()
People
(Reporter: bc, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
It appears that bug 1599865 has caused submitted bug comments to remain in Local Storage and and to be used to fill the comment text area on revisiting or reloading a bug even after the comment has been submitted.
This is occurring for me with Nightly on Linux and is a major inconvenience.
Comment 1•4 years ago
|
||
Interesting. Does this happen every time? Has anyone encountered the issue since Bug 1599865 deployed to production last week?
Comment 2•4 years ago
|
||
I didn’t see any issue with the comment above. The comment field became empty after submission.
Comment 3•4 years ago
•
|
||
And I think the relevant bug is Bug 1472757. The New Bug page isn’t using local storage yet.
Comment 4•4 years ago
|
||
Came up with a scenario: If you have changed the After changing a bug preference from Show the updated bug to Show next bug in my list, the local storage won’t be cleared. Not sure if this applies to Bob’s case though.
Reporter | ||
Comment 5•4 years ago
|
||
I see it every time. I do have show next bug in my list set. I just changed it to show the updated bug. Let's see if it worked!
Reporter | ||
Comment 6•4 years ago
|
||
I do not see the comment pre-populated.
Comment 7•4 years ago
|
||
Thanks for testing! I’ll figure out how to work around the “next bug” issue.
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Simple fix.
Comment 9•4 years ago
|
||
Merged to master.
Reporter | ||
Comment 10•4 years ago
|
||
Changed my pref back to show next bug in list...
Reporter | ||
Comment 11•4 years ago
|
||
Really changing my pref...
Reporter | ||
Comment 12•4 years ago
|
||
I'm sorry. I thought this had been deployed. I'll wait for bmo push day to verify.
Reporter | ||
Comment 13•4 years ago
|
||
And now it has...
Reporter | ||
Comment 14•4 years ago
|
||
kohei: I just saw the bmo push day notice, changed my pref back, reloaded the page and still see the comment populated after visiting the bug again. Am I just early or is this not fixed?
Comment 15•4 years ago
•
|
||
I just tested with Bug 1614329 and the comment cache was cleared properly. But if you simply navigate back to the previous page after changing a bug, the comment field may still have your posted comment because of the browser’s back-forward cache. Not sure if we can avoid this behaviour.
Reporter | ||
Comment 16•4 years ago
|
||
I don't think this was the bf cache. If I recall correctly it was clicking on the link to the bug after it was updated and not using the back button. I just switched the pref and reloaded and will confirm after I post this comment.
Reporter | ||
Comment 17•4 years ago
|
||
I don't think this was the bf cache. If I recall correctly it was clicking on the link to the bug after it was updated and not using the back button. I just switched the pref and reloaded and will confirm after I post this comment.
I can confirm I see the same comment already in the input after clicking the link to the updated bug. I'll do this comment and then check local storage to see if the comment is still there before I click the link.
Reporter | ||
Comment 18•4 years ago
|
||
The local storage still contained the previous comment. The storage is continually updated as I type this.
Reporter | ||
Comment 19•4 years ago
|
||
Clicking save did not delete the local storage. This is not fixed. Remember you need to set the "After changing a bug" to "Show next bug in my list".
Comment 20•4 years ago
|
||
Would you mind taking a screencast?
Reporter | ||
Comment 21•4 years ago
|
||
I don't really have any screencasting software installed. I'll walk through the steps to reproduce on Fedora 31 using Nightly 76.0a1.
- Click my avator in the top right corner.
- Middle click Preferences to load it in a new tab.
- Click General Preferences
- Change After changing a bug to Show next bug in my list.
- Scroll down and click Submit Changes.
- Open Web Developer Storage Inspector
- Note no comments saved.
- Click Save Changes.
Reporter | ||
Comment 22•4 years ago
|
||
Comment 23•4 years ago
|
||
This is really frustrating. I have submitted a few duplicate comments recently because of this bug. I have changed the pref back to the default to see if that fixes the problem.
Updated•4 years ago
|
Description
•