branch-rewrite.py sometimes tries to access forbidden tables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
branch-rewrite.py's DB user only has SELECT on branch. But sometimes when looking up /+branch URLs it tries to query person, product, productseries, and possibly more.
I haven't managed to reproduce the product/
For now we've cowboyed person/
2012-08-22 15:43:53 ERROR Exception occurred:
Traceback (most recent call last):
File "./scripts/
print rewriter.
File "/home/
resource_
File "/home/
branch, trailing = lookup.
File "/home/
return get_first_
File "/home/
for result in results:
File "/home/
return self.getByLPPat
File "/home/
branch = namespace_
File "/home/
person = self._findPerso
File "/home/
NoSuchPerson, person_name, getUtility(
File "/home/
result = finder(*args)
File "/home/
return Person.
[SNIP]
ProgrammingError: permission denied for relation person
Related branches
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
importance: | Critical → High |
r15862 in stable (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15862) is part of this bug's fix.