POFile stats verifier lacks db privilege
Bug #723168 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Jeroen T. Vermeulen |
Bug Description
The rosetta-
In a qastaging run we gave it select privileges for this table, and that seemed to fix it.
Related branches
lp:~jtv/launchpad/bug-723168
- Leonard Richardson (community): Approve
-
Diff: 62 lines (+34/-2)3 files modifieddatabase/schema/security.cfg (+1/-1)
lib/lp/translations/model/potemplate.py (+1/-1)
lib/lp/translations/scripts/tests/test_verify_pofile_stats.py (+32/-0)
Changed in launchpad: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
milestone: | none → 11.03 |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.