Bug 758137

Summary: creating repository fails
Product: Red Hat Satellite Reporter: Garik Khachikyan <gkhachik>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: mkoci, mmccune, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:09:15 UTC Type: ---
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: 747354    
Attachments:
Description Flags
Create repo works from UI as well from cli none

Description Garik Khachikyan 2011-11-29 12:04:58 UTC
Description of problem:
On recent build UI of create repository fails with:
---
compile error /usr/share/katello/app/views/repositories/_new.html.haml:27: syntax error, unexpected kIF_MOD, expecting ')' ...cted => @product.gpg_key.id if @product.gpg_key ), :include_... ^ /usr/share/katello/app/views/repositories/_new.html.haml:28: syntax error, unexpected ')', expecting '}' ));}\n
\n\n
\n\n\n
\n\n\n
\n\n\n
\n
---
Please fix (I expect that as temporarily issue with working on gpg keys stuff).

Version-Release number of selected component (if applicable):
katello-0.1.116-1.el6.x86_64

How reproducible:
always on recent version of katello

Steps to Reproduce:
1.create provider, product and refer to the button to create a repo.
2.
3.
  
Actual results:
exception above

Expected results:
no errors, possibility to create repo.

Additional info:

Comment 1 Mike McCune 2011-11-30 16:43:59 UTC
This was fixed in a commit that didn't have a bug associated.  Marking MODIFIED

Comment 2 Sachin Ghai 2011-12-23 12:40:01 UTC
Verified with following katello build:

[root@dhcp201-162 ~]# rpm -qa | grep katello
katello-0.1.154-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-common-0.1.30-1.el6.noarch
katello-glue-pulp-0.1.154-1.el6.noarch
katello-configure-0.1.46-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-candlepin-0.1.154-1.el6.noarch
katello-all-0.1.154-1.el6.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.30-1.el6.noarch
katello-glue-foreman-0.1.154-1.el6.noarch
katello-common-0.1.154-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch


I can create a repo from UI as well as from cli.

Please see the attachment in next comment for verification.

Comment 3 Sachin Ghai 2011-12-23 12:40:50 UTC
Created attachment 549336 [details]
Create repo works from UI as well from cli

Comment 6 Mike McCune 2013-08-16 18:02:42 UTC
getting rid of 6.0.0 version since that doesn't exist