Oops when submitting translations while in read-only mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Jeroen T. Vermeulen |
Bug Description
Submitting translations while the system is in read-only mode can lead to an assertion failure. A user might legitimately do this if the system went read-only after the user loaded the +translate page.
POTMsgSet.
It'd be helpful if the browser code checked for read-only mode as part of validating the POST, and showed an appropriate notice. In fact this sounds like it should be a standard validation check for Launchpad forms.
OOPS-1488EB320
Related branches
- Henning Eggers (community): Approve (code)
-
Diff: 57 lines (+14/-6)2 files modifiedlib/lp/translations/doc/pofile.txt (+1/-1)
lib/lp/translations/model/potmsgset.py (+13/-5)
Changed in rosetta: | |
milestone: | 10.02 → none |
Changed in rosetta: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
status: | New → In Progress |
importance: | Undecided → Medium |
importance: | Medium → Low |
milestone: | none → 10.02 |
tags: | added: qa-needstesting |
Changed in rosetta: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
Just checked with stub and yes, it's a standard validation check for Launchpad forms. But read-only mode is a state that's signaled outside of the database, meaning that it can occasionally hit a request that's already past validation and in processing.