Entering the GitHub and GitLab source markup editors displays cached content.
Categories
(Core :: Session Restore, defect)
Tracking
()
People
(Reporter: zn7esutb, Unassigned)
References
()
Details
Steps to reproduce
- I saved (posted) a comment on GitHub (or GitLab).
- I modified that comment.
- I saved (posted) that (modified) comment.
- I entered the edit mode again.
Actual results
Instead of displaying the updated comment content, the previous content is displayed. Refreshing the page once usually remediates this, and refreshing it 2 to 3 times always does.
I presume that this is due to caching, considering that input form content is usually cached, except upon manual refresh.
I would have considered this to be a fault with either GitHub or GitLab, had it not occurred on both. It occurs on GitHub incredibly frequently, in comparison to GitLab.
Expected results
The new content should be displayed.
Reporter | ||
Comment 1•3 months ago
|
||
I have not verified whether this is exhibited on Firefox on Windows 11, nor whether it's exhibited on Chrome, because I rarely utilize either platform (although both are available to me if necessary) so the sporadic nature of the bug makes it difficult to reproduce on those platforms without extensive use of them.
Updated•3 months ago
|
Comment 2•3 months ago
|
||
Works for me on GitHub. Reporter, are the steps to reproduce from comment 0 sufficient for you to reproduce this on GitHub?
Reporter | ||
Comment 3•3 months ago
|
||
Reporter, are the steps to reproduce from comment 0 sufficient for you to reproduce this on GitHub?
hsivonen@mozilla.com
, yes. Additionally:
- The reproduction steps are identical on GitHub and GitLab.
- This occurs approximately 90% more frequently on GitHub in my usage, although my usage is skewed significantly toward GitHub.
I'll attempt to capture a screencast when this next occurs.
Reporter | ||
Updated•3 months ago
|
Reporter | ||
Comment 4•3 months ago
|
||
It's been strangely reliable recently. I'll reopen when I have captured a screencast as proof.
Reporter | ||
Updated•3 months ago
|
Reporter | ||
Comment 5•4 days ago
|
||
I have had this recur at gitlab.com/-/snippets/4823517/edit
at least 2 times today, on a new installation of firefox-136.0-2.fc41.x86_64
on a new OS installation, but with my previous profile (albeit with tm5k@tabmaster.org
disabled). I verified by refreshing the page.
Description
•