Translate pages show sequence of zero on new potmsgsets with message sharing

Bug #369204 reported by Данило Шеган
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Данило Шеган

Bug Description

Newly created POTMsgSets with message sharing disabled don't have sequence/potemplate set directly (since they can be in multiple templates with different sequence numbers), and we are getting a sequence number via context.potmsgset.potemplate, which is unset.

This is just a display issue, and a fix is trivial (reference context.pofile.potemplate in translationmessage view method `seqence` instead).

Revision history for this message
Данило Шеган (danilo) wrote :

This looks very bad for new projects, and even if it's only about looks, we should have a test and fix this before rollout.

Changed in rosetta:
assignee: nobody → Данило Шеган (danilo)
importance: Undecided → Critical
milestone: none → 2.2.4
status: New → In Progress
Revision history for this message
Данило Шеган (danilo) wrote :

And we also use incorrect reference to a pofile.

Revision history for this message
Данило Шеган (danilo) wrote :

Fixed in db-devel 8030.

Changed in rosetta:
status: In Progress → Fix Committed
description: updated
Changed in rosetta:
status: Fix Committed → Fix Released
description: updated
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.