Bug 1368458

Summary: Resubmit does not work on forked projects.
Product: [Community] Copr Reporter: Miroslav Suchý <msuchy>
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: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1421728 (view as bug list) Environment:
Last Closed: 2017-01-11 13:08:04 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:
Bug Depends On:    
Bug Blocks: 1421728    

Description Miroslav Suchý 2016-08-19 13:15:09 UTC
Description of problem:
Resubmit does not work on forked projects.


Steps to Reproduce:
1. build package
2. fork project
3. in forked project hit resubmit on the build

Actual results:
the resubmitted build fails to fetch SRPM from dist-git because there is none.

Expected results:
Either forbit to resumbit button in such cases or reimport the SRPM (this time in correct dist-git branch).

Comment 1 clime 2016-10-06 08:09:06 UTC
Fixed by https://github.com/fedora-copr/copr/commit/5b223688.

Comment 2 clime 2017-01-11 13:08:04 UTC
For the time being, the action of resubmitting is forbidden for forked projects.