_findTranslationMessage can return a TM diverged in another template

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

Bug Description

POTMsgSet._findTranslationMessage can return a diverged message from another template and try to use that, when that should happen in only very specific set of conditions (i.e. when we are making that a shared translation in the new template).

This is similar to the export problem, but it's slightly more complex: we need to differentiate between making a shared translation or making a diverged translation to decide whether we want to look into other diverged TMs as well, or just for (TM.potemplate IS NULL or TM.potemplate=pofile.potemplate).

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

Initially, it's fine to fix this by just looking for appropriate TMs (and a diverged message in that other template that is identical would have to be manually marked as shared).

Changed in rosetta:
assignee: nobody → Henning Eggers (henninge)
Changed in rosetta:
status: Triaged → In Progress
Revision history for this message
Henning Eggers (henninge) wrote :

Fixed in devel 8781.

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