Bug 1382243

Summary: Multiple rows were found for one()
Product: [Community] Copr Reporter: kitsune.solar
Component: frontendAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: a15y87, aflyhorse, clime, samuel.rakitnican, tmraz
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-17 14:53:28 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:
Attachments:
Description Flags
second line nmap project packages none

Description kitsune.solar 2016-10-06 06:04:35 UTC
Created attachment 1207792 [details]
second line nmap project packages

Description of problem:

https://copr.fedorainfracloud.org/coprs/cbrspc/nmap/packages/

Always there is a second line nmap project packages (see attachment). When you click on a link:

https://copr.fedorainfracloud.org/coprs/cbrspc/nmap/package/nmap/

Error appears:

Error 500: Internal Server Error
Multiple rows were found for one ()

Comment 1 clime 2016-10-07 07:31:19 UTC
Somehow there happened to be two package records with the same name for your project cbrspc/nmap. That shouldn't happen. I deleted the record having no associated builds to it as opposed to the other record.

If this should happen again, I will need to investigate the cause.

Comment 2 kitsune.solar 2016-10-07 09:11:07 UTC
(In reply to clime from comment #1)
> Somehow there happened to be two package records with the same name for your
> project cbrspc/nmap. That shouldn't happen. I deleted the record having no
> associated builds to it as opposed to the other record.
> 
> If this should happen again, I will need to investigate the cause.

This occurs for the second time. The first time I removed the entire project and recreate it.

Let's watch...

Comment 3 Tomas Mraz 2016-10-07 12:59:51 UTC
Reopening - it happened here:
https://copr.fedorainfracloud.org/coprs/tmraz/OpenSSL-1.1.0/packages/

See the openssl102 and krb5 packages.

Comment 4 clime 2016-10-10 06:45:23 UTC
*** Bug 1383136 has been marked as a duplicate of this bug. ***

Comment 5 clime 2016-10-10 14:01:27 UTC
Addressed by https://github.com/fedora-copr/copr/commit/78e5ed0b.

Comment 6 clime 2016-10-11 17:55:42 UTC
*** Bug 1383711 has been marked as a duplicate of this bug. ***