Can't delete git repository with access tokens

Bug #1964800 reported by Ar Rakin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Colin Watson

Bug Description

Hi Admins!
Please delete the following git repo:

https://code.launchpad.net/~onesoftnet/invention/+git/invention

I was unable to delete this repo, because the server returns an error.
Thank you!

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :

Attempting to delete this crashed with:

Traceback (most recent call last):
  File "/srv/launchpad.net/production/launchpad-rev-81acd06336f3c4be8f28a2213f7a64912593402d/env/lib/python3.5/site-packages/storm/exceptions.py", line 165, in wrap_exceptions
    yield
  File "/srv/launchpad.net/production/launchpad-rev-81acd06336f3c4be8f28a2213f7a64912593402d/env/lib/python3.5/site-packages/storm/database.py", line 187, in wrapper
    return attr(*args, **kwargs)
psycopg2.IntegrityError: update or delete on table "gitrepository" violates foreign key constraint "accesstoken_git_repository_fkey" on table "accesstoken"
DETAIL: Key (id)=(125807) is still referenced from table "accesstoken".

summary: - Create bug report based on question
+ Can't delete git repository with access tokens
tags: added: fallout lp-code oops
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
Colin Watson (cjwatson)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Colin Watson (cjwatson) wrote :

I can't see this repository myself any more - it looks like perhaps you made it private? Anyway, you should be able to delete it yourself now, since we've fixed the underlying bug.

Changed in launchpad:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.