Bug 1325515

Summary: rebuild repository on group project does not work
Product: [Community] Copr Reporter: Miroslav Suchý <msuchy>
Component: frontendAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime
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-05-05 13:06:27 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 Miroslav Suchý 2016-04-09 12:52:20 UTC
Description of problem:
rebuild repository on group project does not work, because it create action for user owning project instead of group itself.


Steps to Reproduce:
1. user foo create group project @bar/xyz
2. check in "settings" tab "create repo manualy"
3. got to "Overview" and hit "Regenerate"
4. check /backend/waiting/ page

Actual results:
action:
    {
      "action_type": 3, 
      "created_on": 1460206148, 
      "data": "{\"username\": \"foo\", \"projectname\": \"xyz\",

Expected results:
    {
      "action_type": 3, 
      "created_on": 1460206148, 
      "data": "{\"username\": \"@bar\", \"projectname\": \"xyz\",

Comment 1 clime 2016-04-11 09:04:53 UTC
Fixed by 9dc498bf.

Comment 2 Miroslav Suchý 2016-05-05 13:06:27 UTC
Package including this fix has been deployed on production instance of Copr.