You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect "The review state of this string has changed" using browser "Back" button #22918
When translating an empty string, then going back and changing the translation, the editor is stuck with the message "The review state of this string has changed from Empty to Waiting for review while you were editing it. Reload the editor and review your changes before saving.".
I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
Open the translation editor on an empty string.
Translate the string and click "Save and continue".
Go back using the browser "Back" button.
Change the translation and click either "Save" button.
The screen is stuck with the message: "The review state of this string has changed from Empty to Waiting for review while you were editing it. Reload the editor and review your changes before saving."
Expected behavior
The save is recorded correctly.
Screenshots
No response
Exception traceback
How do you run Weblate?
Docker container
Weblate version
2026.11.2
Weblate deploy checks
Additional context
The issue is probably that the initial_state on the original form is not refreshed when using the browser back button.
You seem to use a reverse proxy that rewrites/discards Cache-Control HTTP headers. Browser that uses an outdated cache for a string that has been edited, so the error it shows is actually correct.
The translate view sent no Cache-Control in 2026.8 either (no never_cache on weblate.trans.views.edit.translate), and this flow worked there. The regression comes from #22292 (dbdc688, detect stale review states), released in 2026.11. The stale translationsum check has always exempted repeated edits by the same author (last_author != self.user). The new initial_state check has no such exemption, so re-saving your own string from a page restored by Back is now always rejected.
Two possible fixes: apply the same same-author exemption to the state check, or add never_cache to the translate view so the browser can't serve a stale form.
Activity
nijel commentedon Nov 19, 2026
You seem to use a reverse proxy that rewrites/discards
Cache-ControlHTTP headers. Browser that uses an outdated cache for a string that has been edited, so the error it shows is actually correct.dylankiss commentedon Nov 19, 2026
The translate view sent no
Cache-Controlin 2026.8 either (nonever_cacheonweblate.trans.views.edit.translate), and this flow worked there. The regression comes from #22292 (dbdc688, detect stale review states), released in 2026.11. The staletranslationsumcheck has always exempted repeated edits by the same author (last_author != self.user). The newinitial_statecheck has no such exemption, so re-saving your own string from a page restored by Back is now always rejected.Two possible fixes: apply the same same-author exemption to the state check, or add
never_cacheto the translate view so the browser can't serve a stale form.nijel commentedon Nov 24, 2026
All authenticated views have headers to disable caching since 2b6f82d. The exemption still might be a useful addition, and #23018 does that.
fix(tests): remove unused variable in Selenium test
github-actions commentedon Nov 29, 2026
Thank you for your report — the issue has now been resolved.
The fix has been merged into the repository and will be included in the upcoming Weblate 2026.12 release.