ProgrammingError creating new team

Bug #928391 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
William Grant

Bug Description

Steps to reproduce (on qastaging):
1. Open https://qastaging.launchpad.net/people/+newteam
2. Fill in the info to create a new team
3. Click Create Team
4. OOPS-c1e34545dee55c1391883b2115362f65

    Traceback (most recent call last):
  Module zope.publisher.publish, line 134, in publish
    result = publication.callObject(request, obj)
  Module lp.services.webapp.publication, line 499, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  Module zope.publisher.publish, line 109, in mapply
    return debug_call(obj, args)
   - __traceback_info__: <security proxied zope.browserpage.metaconfigure.SimpleViewClass from /srv/qastaging.launchpad.net/qastaging/launchpad-rev-14753/lib/lp/registry/browser/../templates/people-newteam.pt instance at 0xea9bf10>
  Module zope.publisher.publish, line 115, in debug_call
    return obj(*args)
  Module lp.services.webapp.publisher, line 376, in __call__
    self.initialize()
  Module lp.app.browser.launchpadform, line 136, in initialize
    self.form_result = form_action.success(data)
  Module zope.formlib.form, line 606, in success
    return self.success_handler(self.form, self, data)
  Module lp.registry.browser.team, line 1022, in create_action
    subscriptionpolicy, defaultmembershipperiod, defaultrenewalperiod)
  Module lp.registry.model.person, line 3217, in newTeam
    teamowner, team, TeamMembershipStatus.ADMIN, teamowner)
  Module lp.registry.model.teammembership, line 445, in new
    _fillTeamParticipation(person, team)
  Module lp.registry.model.teammembership, line 647, in _fillTeamParticipation
    """ % dict(member=member.id, accepting_team=accepting_team.id)
  Module storm.properties, line 60, in __get__
    return obj_info.variables[column].get()
  Module storm.store, line 901, in _resolve_lazy_value
    self.flush()
  Module storm.store, line 503, in flush
    self._flush_one(obj_info)
  Module storm.store, line 540, in _flush_one
    result = self._connection.execute(expr)
  Module storm.databases.postgres, line 255, in execute
    result = Connection.execute(self, Returning(statement), params)
  Module storm.database, line 238, in execute
    raw_cursor = self.raw_execute(statement, params)
  Module storm.databases.postgres, line 271, in raw_execute
    return Connection.raw_execute(self, statement, params)
  Module storm.database, line 322, in raw_execute
    self._check_disconnect(raw_cursor.execute, *args)
  Module storm.database, line 371, in _check_disconnect
    return function(*args, **kwargs)
ProgrammingError: permission denied for function check_person_email_address_account

Revision history for this message
Curtis Hovey (sinzui) wrote :

This is not reproducible in production.

tags: added: accounts teams
Revision history for this message
William Grant (wgrant) wrote :

Someone manually applied part of patch 2209-00-4 (which never applied to production or staging before I reverted it for being slow) to qastaging. It has been removed and things are now unbroken.

Changed in launchpad:
status: Triaged → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
tags: added: disclosure sharing
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.