POFile stats verifier lacks db privilege

Bug #723168 reported by Jeroen T. Vermeulen on 2011-02-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Critical
Jeroen T. Vermeulen

Bug Description

The rosetta-pofile-stats.py script is failing: permission denied for relation productseries.

In a qastaging run we gave it select privileges for this table, and that seemed to fix it.

Related branches

Changed in launchpad:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Jeroen T. Vermeulen (jtv)
milestone: none → 11.03
Jeroen T. Vermeulen (jtv) wrote :

The problem was a line "if self.productseries is not None:" in POTemplate.translation_side. It made the ORM fetch self.productseries. We can fix it by evaluating the foreign-key attribute instead.

Changed in launchpad:
status: In Progress → Fix Committed
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant) on 2011-02-25
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers