Bug 918161

Summary: Headpin Nightly : Managing Orgs,Users,User-roles,Environment in UI
Product: [Retired] Subscription Asset Manager Reporter: Tazim Kolhar <tkolhar>
Component: katelloAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED ERRATA QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: high    
Version: 1.3CC: bkearney, cwelton, omaciel, sthirugn
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 11:07:31 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 833466    
Attachments:
Description Flags
Administer the features
none
Administer the features
none
Administer the features none

Description Tazim Kolhar 2013-03-05 15:45:45 UTC
Created attachment 705516 [details]
Administer the features

Description of problem:

Where can we manage Orgs,Users,User-roles,Environment in UI

Version-Release number of selected component (if applicable):

# rpm -qa | grep katello
katello-configure-1.3.6-1.git.774.063a1a2.el6.noarch
katello-common-1.3.14-1.git.817.b5f1eb9.el6.noarch
katello-cli-1.3.4-1.git.767.241b352.el6.noarch
katello-headpin-all-1.3.14-1.git.817.b5f1eb9.el6.noarch
katello-selinux-1.3.1-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.1.9-1.el6.noarch
katello-glue-candlepin-1.3.14-1.git.817.b5f1eb9.el6.noarch
katello-cli-common-1.3.4-1.git.767.241b352.el6.noarch
katello-headpin-1.3.14-1.git.817.b5f1eb9.el6.noarch
katello-glue-elasticsearch-1.3.14-1.git.817.b5f1eb9.el6.noarch
katello-repos-1.3.2-1.el6.noarch

How reproducible:
# yum install -y katello-headpin-all
# katello-configure --deployment=headpin

Steps to Reproduce:
1.Login to UI using admin user
2.try accesing https://[sam-server]/headpin/organizations
3.try accessing https://[sam-server]/headpin/users?id=1&only=true#panel=user_1
4.try accessing https://[sam-server]/headpin/notices
  
Actual results:

NoMethodError in Organizations#index
Showing /usr/share/katello/app/views/common/_header.haml where line #12 raised:
undefined method `delete' for nil:NilClass

NoMethodError in Users#index
Showing /usr/share/katello/app/views/common/_header.haml where line #12 raised:
undefined method `delete' for nil:NilClass


Expected results:
Link to manage Orgs,Envs,Users,User-roles

Additional info:

Comment 1 Tazim Kolhar 2013-03-05 15:46:30 UTC
Created attachment 705517 [details]
Administer the features

Comment 2 Tazim Kolhar 2013-03-05 15:47:00 UTC
Created attachment 705518 [details]
Administer the features

Comment 3 Bryan Kearney 2013-06-06 21:12:54 UTC
The latest build resolves these issues.

Comment 4 sthirugn@redhat.com 2013-07-05 20:05:58 UTC
All three links mentioned in the Bug are verified to be working fine in the latest headpin nightly.

Version Tested:
* candlepin-0.8.16-1.el6.noarch
* candlepin-cert-consumer-ibm-x3655-03.ovirt.rhts.eng.bos.redhat.com-1.0-1.noarch
* candlepin-tomcat6-0.8.16-1.el6.noarch
* elasticsearch-0.19.9-7.el6.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-1.el6.noarch
* katello-cli-1.4.2-1.git.107.43fee0b.el6.noarch
* katello-cli-common-1.4.2-1.git.107.43fee0b.el6.noarch
* katello-common-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
* katello-glue-candlepin-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-glue-elasticsearch-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-headpin-1.4.2-1.git.812.a3a58dc.el6.noarch
* katello-headpin-all-1.4.2-1.git.812.a3a58dc.el6.noarch
* Katello-Katello-Installation-RegisterRHNClassic-1.1-4.noarch
* Katello-Katello-Sanity-ImportKeys-1.2-1.noarch
* katello-repos-1.4.2-1.el6.noarch
* katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch
* thumbslug-0.0.27-1.el6.noarch
* thumbslug-selinux-0.0.27-1.el6.noarch

Comment 6 errata-xmlrpc 2013-10-01 11:07:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1390.html