Malformed plural formula causes oops on Language page

Bug #445405 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Adi Roiban

Bug Description

The Language +admin page will accept a malformed plural formula (e.g. "nplurals=2; plural=n > 1" for Klingon), but once it is set that way, it causes the language's overview page to oops.

OOPS-1375G1875

Changed in rosetta:
importance: Undecided → High
milestone: none → 3.1.10
status: New → Triaged
tags: added: oops
Changed in rosetta:
milestone: 3.1.10 → none
Revision history for this message
Adi Roiban (adiroiban) wrote :

I was not able to reproduce the bug using "nplurals=2; plural=n > 1" for Klingon.

Is this still a valid bug?

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

I just reproduced the bug on staging by setting the plural formula in the database: OOPS-1657S178

The UI will no longer accept a clearly malformed plural expression, but in cases where the value in the database is already unusable, we still get failures.

Copy of the traceback: http://paste.ubuntu.com/464118/

Adi Roiban (adiroiban)
Changed in rosetta:
assignee: nobody → Adi Roiban (adiroiban)
Changed in launchpad:
importance: High → Critical
Revision history for this message
Robert Collins (lifeless) wrote :

bad data appears fixed; bad data is kept out -> fixed.

Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.