Private translations export branches break productseries translation page

Bug #638920 reported by Henning Eggers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Henning Eggers

Bug Description

Accessing this URL
https://translations.edge.launchpad.net/canonical-payment-service/trunk
gives me the following traceback. Ideally the page should be displayed with the branch name hidden in some way.

/srv/edge.launchpad.net/edge/launchpad-rev-11546/lib/lp/translations/browser/../templates/productseries-translations.pt
Line 98, Column 11
Expression: <PathExpr standard:u'context/translations_branch/fmt:link'>
   - Names:
      {'args': (),
       'context': <ProductSeries at 0x2b7501385e90>,
       'default': <object object at 0x2b74df58b220>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <lp.translations.publisher.TranslationsBrowserRequest instance URL=https://translations.edge.launchpad.net/canonical-payment-service/trunk/+translations>,
       'template': <z3c.ptcompat.ViewPageTemplateFile object at 0x997f350>,
       'view': <zope.browserpage.metaconfigure.SimpleViewClass from /srv/edge.launchpad.net/edge/launchpad-rev-11546/lib/lp/translations/browser/../templates/productseries-translations.pt object at 0x2b74f53a62d0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2b74f53a6f90>}
Module zope.tales.expressions, line 217, in __call__
return self._eval(econtext)
Module zope.tales.expressions, line 194, in _eval
ob = self._subexprs[-1](econtext)
Module zope.tales.expressions, line 124, in _eval
ob = self._traverser(ob, element, econtext)
Module zope.pagetemplate.engine, line 68, in __call__
request=request)
Module zope.traversing.adapters, line 138, in traversePathElement
return traversable.traverse(nm, further_path)
__traceback_info__: (<canonical.launchpad.webapp.tales.BranchFormatterAPI object at 0x2b7500741a90>, 'link')
Module canonical.launchpad.webapp.tales, line 509, in traverse
return getattr(self, method_name)(extra_path)
Module canonical.launchpad.webapp.tales, line 1425, in link
'%(display_name)s</a>' % self._args(view_name))
Module canonical.launchpad.webapp.tales, line 1414, in _args
'bzr_identity': branch.bzr_identity,
Unauthorized: (<Branch u'~canonical-isd-hackers/canonical-payment-service/translations' (371855)>, 'bzr_identity', 'launchpad.View')<br />

Related branches

Changed in rosetta:
status: New → Triaged
importance: Undecided → High
tags: added: oops
Changed in rosetta:
status: Triaged → In Progress
assignee: nobody → Henning Eggers (henninge)
milestone: none → 10.11
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in rosetta:
status: In Progress → Fix Committed
tags: added: qa-ok
removed: qa-needstesting
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.