Hide Forgot
Description of problem: When I set an invalid URL in Git/Tito or Mock SCM "Git URL" field and hit save I get following error: Error 404: Not Found Project dvratil/plasma-5-unstable does not exist. The bug here is that the Copr is actually @kdesig/plasma-5-unstable, not dvratil/plasma-5-unstable (indeed there is no such Copr). Looks like the error handling code always assumes current user owns the Copr, regardless of the Copr being group-owned or not. How reproducible: always Steps to Reproduce: 1. have a group-owned Copr 2. edit a Package, set invalid value in Git/Tito or Mock SCM "Git URL" field 3. click "Save" Actual results: Error 404 "$yourFASName/$coprName does not exist" Expected results: Page reloads with proper "Invalid value" warnings, same as on a user-owned Coprs Additional info:
Hello Daniel, thank you for the feedback. Modified in: 1314918
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
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.