Can't correct ".po" template name: "There is already a file in the given path."

Bug #347804 reported by Jeroen T. Vermeulen
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Scenario:
 * A product series has a template with path foo.pot.
 * A new template is uploaded, but it's called foo.po instead of foo.pot.
 * The queue reviewer sets the upload's type to template and fixes the path.
 -> The approval form rejects the upload's new path, saying "There is already a file in the given path."

The problematic code is in browser/translationimportqueue.py, in _validatePath (the comment says it checks for an IPOFile in the given path, but in this case it's been checking for a template AFAICT). The form should accept the change if the new data for the entry produces a complete match with the existing file. In that case the upload should be attached to the existing file.

Changed in rosetta:
importance: Undecided → Medium
status: New → Triaged
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.