TeamMembershipTransitionError: Bad state transition from DECLINED to INVITED

Bug #820077 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Aaron Bentley

Bug Description

As seen on OOPS-2037C45 a TeamMembershipTransitionError was logged approving a declined person team membership

 Module canonical.launchpad.webapp.publisher, line 288, in __call__
    self.initialize()
  Module lp.app.browser.launchpadform, line 133, in initialize
    self.form_result = 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 1084, in add_action
    status=TeamMembershipStatus.APPROVED)
  Module lp.registry.model.person, line 1481, in addMember
    status_changed = tm.setStatus(status, reviewer, comment)
  Module lp.registry.model.teammembership, line 352, in setStatus
    % (self.status.name, status.name))
TeamMembershipTransitionError: Bad state transition from DECLINED to INVITED

Tags: oops qa-ok

Related branches

Aaron Bentley (abentley)
Changed in launchpad:
assignee: nobody → Aaron Bentley (abentley)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Aaron Bentley (abentley)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
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.