ExistingPOFileInDatabase caches other POFiles' diverged messages

Bug #393374 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

ExistingPOFileInDatabase (in c.l.translationformat.translation_import) seems to cache TranslationMessages that are diverged in other templates that share with the one it's importing for.

To fix this, I think the query in _fetchDBRows should have an additional condition "(TranslationMessage.potemplate IS NULL OR TranslationMessage.potemplate = POFile.potemplate)."

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

Unless this causes ill effects on performance, it's medium. We've got 40k files in Karmic to track now, so we can see if it does.

tags: added: message-sharing
Changed in rosetta:
importance: Undecided → Medium
status: New → Triaged
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Medium → Low
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.