InvalidBranchMergeProposal: Source and target branches must be different using the API

Bug #905278 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Steve Kowalik

Bug Description

OOPS-13209939386b297b1fa0b91ffcc99bc5 logged an InvalidBranchMergeProposal: Source and target branches must be different.

   Traceback (most recent call last):
  Module zope.publisher.publish, line 134, in publish
    result = publication.callObject(request, obj)
  Module lazr.restful.publisher, line 211, in callObject
    WebServicePublicationMixin, self).callObject(request, object)
  Module canonical.launchpad.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 lazr.restful._resource.EntryResource instance at 0x15107b90>
  Module zope.publisher.publish, line 115, in debug_call
    return obj(*args)
  Module lazr.restful._resource, line 925, in __call__
    result = self.do_POST()
  Module lazr.restful._resource, line 757, in do_POST
    return self.handleCustomPOST(operation_name)
  Module lazr.restful._resource, line 1396, in handleCustomPOST
    value = super(EntryResource, self).handleCustomPOST(operation_name)
  Module lazr.restful._resource, line 741, in handleCustomPOST
    return operation()
  Module lazr.restful._operation, line 83, in __call__
    response = self.call(**values)
  Module lazr.restful.declarations, line 1426, in call
    result = self._getMethod()(**params)
  Module lp.code.model.branch, line 504, in _createMergeProposal
    commit_message=commit_message, review_requests=review_requests)
  Module lp.code.model.branch, line 430, in addLandingTarget
    'Source and target branches must be different.')
InvalidBranchMergeProposal: Source and target branches must be different.

Related branches

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
assignee: nobody → Steve Kowalik (stevenk)
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Steve Kowalik (stevenk)
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.