Comment 10 for bug 447418

Robert Collins (lifeless) wrote :

Fresh eyes after a break are a wonderful thing.

This loop:
odule canonical.cachedproperty, line 79, in __get__
    result = self.fn(inst)
  Module lp.registry.browser.milestone, line 272, in bugtasks
    return [self._getListingItem(bugtask) for bugtask in self._bugtasks]
  Module canonical.cachedproperty, line 79, in __get__
    result = self.fn(inst)
  Module lp.registry.browser.milestone, line 242, in _bugtasks
    if task.getConjoinedMaster(bugs_and_tasks[task.bug]) is None:

seems to be be triggering
Module canonical.launchpad.webapp.authorization, line 207, in checkPermission
    principal.account)

via

  Module canonical.database.sqlbase, line 733, in block_implicit_flushes_decorator
    return func(*args, **kwargs)
  Module canonical.launchpad.webapp.authorization, line 207, in checkPermission
    principal.account)
  Module canonical.launchpad.security, line 173, in checkAccountAuthenticated
    return self.checkAuthenticated(IPersonRoles(person))
  Module canonical.launchpad.security, line 946, in checkAuthenticated
    return self.obj.bug.userCanView(user.person)
  Module lp.bugs.model.bug, line 1561, in userCanView
    for subscription in self.subscriptions: