Bug 1311777

Summary: failure to delete project (and cancelled build)
Product: [Community] Copr Reporter: Fabio Valentini <decathorpe>
Component: frontendAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime, jkadlcik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-29 12:19:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Fabio Valentini 2016-02-25 00:14:33 UTC
When wanting to delete one of my projects (decathorpe/mesa-git), I get the following error, even after playing around with some settings:

Error 500 : Internal Server Error
'NoneType' object has no attribute 'name'

I get the same error when attempting to delete one of the builds in the projects, which I cancelled manually (117591).

Comment 1 clime 2016-03-01 07:19:27 UTC
Fixed by 4661b1202d. It will take about two weeks until this gets into production.

Comment 2 Jakub Kadlčík 2016-03-15 08:48:51 UTC
Code with this fix is currently deployed on testing server.
You can test it before it will be deployed to production.
Please see: http://copr-fe-dev.cloud.fedoraproject.org

Comment 3 Fabio Valentini 2016-03-15 09:21:44 UTC
Deleting the offending build worked on the testing instance. Thanks!

Comment 4 Jakub Kadlčík 2016-03-29 12:19:39 UTC
Copr production machines were upgraded to version containing a fix to this issue.
If you are not satisfied with provided solution, please feel free to reopen this.