Don't create empty is_imported TranslationMessages

Bug #183491 reported by Jeroen T. Vermeulen
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Данило Шеган

Bug Description

See discussion in bug 165218. When a translation is "erased," the change is represented as a TranslationMessage without any translations. That record tells us who erased the translation and when.

There isn't much point to doing that for is_imported translations; all that's needed there is that the is_imported flag on any existing is_imported TranslationMessage be cleared. The empty records may be unneeded in other cases as well.

Whatever empty records we do away with, we'll also want to clean up from the database.

Changed in rosetta:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Данило Шеган (danilo) wrote :

This is also needed for bug 255665 to work correctly.

Changed in rosetta:
assignee: nobody → danilo
milestone: none → 2.1.11
status: Confirmed → In Progress
importance: Medium → High
Changed in rosetta:
milestone: 2.1.11 → 2.1.12
Revision history for this message
Данило Шеган (danilo) wrote :

Fixed in RF 7367.

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.