GitDefaultConflict: The default repository for 'project' is already set

Bug #1524316 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
William Grant

Bug Description

I got https://oops.canonical.com/?oopsid=OOPS-9e4ded7ce5520af0a9a53412c8e33cae when trying to update the default git repository (using https://launchpad.net/geonames/+configure-code "Git repository") for the "geonames" project from "~larsu/geonames/+git/geonames-1" to "~geonames-dev/geonames/+git/geonames"

 GitDefaultConflict: The default repository for 'geonames' is already set to ~larsu/geonames/+git/geonames-1. Traceback (most recent call last):
  Module zope.publisher.publish, line 132, in publish
    result = publication.callObject(request, obj)
  Module lp.services.webapp.publication, line 463, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  Module zope.publisher.publish, line 107, in mapply
    return debug_call(obj, args)
   - __traceback_info__: <security proxied zope.browserpage.metaconfigure.SimpleViewClass from /srv/launchpad.net/production/launchpad-rev-17865/lib/lp/code/browser/../templates/configure-code.pt instance at 0x2b7e6fc6df90>
  Module zope.publisher.publish, line 113, in debug_call
    return obj(*args)
  Module lp.services.webapp.publisher, line 438, 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 620, in success
    return self.success_handler(self.form, self, data)
  Module lp.registry.browser.product, line 1943, in update_action
    self.context, repo)
  Module lp.services.webapp.authorization, line 407, in permission_checker
    return func(self, *args, **kwargs)
  Module lp.code.model.gitrepository, line 1249, in setDefaultRepository
    repository.setTargetDefault(True)
  Module lp.code.model.gitrepository, line 322, in setTargetDefault
    raise GitDefaultConflict(existing, self.target)
GitDefaultConflict: The default repository for 'geonames' is already set to ~larsu/geonames/+git/geonames-1.

Tags: easy git oops qa-ok

Related branches

Iain Lane (laney)
description: updated
William Grant (wgrant)
Changed in launchpad:
importance: Undecided → Critical
status: New → Triaged
tags: added: easy git oops
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
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
William Grant (wgrant)
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.