Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1203660

Summary: prior env 'Library' is missing when creating a new life-cycle environment
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Walden Raines <walden>
WebUI sub component: Katello QA Contact: Sachin Ghai <sghai>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified CC: bkearney, ehelms, mmccune, sghai
Version: 6.1.0Keywords: Regression
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9850
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-22 14:48:43 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:
Attachments:
Description Flags
missing prior env which doesn't allow to create new life-cyle env
none
production.log
none
missing library between quotes "" with FF36.0 none

Description Sachin Ghai 2015-03-19 11:27:41 UTC
Created attachment 1003808 [details]
missing prior env  which doesn't allow to create new life-cyle env

Description of problem:

when creating a new life-cycle environment, UI doesn't save the form and production.log filled with below error:


2015-03-19 07:22:20 [I] Processing by Katello::Api::V2::EnvironmentsController#create as JSON
2015-03-19 07:22:20 [I]   Parameters: {"name"=>"dev", "label"=>"dev", "prior"=>"", "organization_id"=>"1", "api_version"=>"v2", "environment"=>{"name"=>"dev", "label"=>"dev", "prior"=>""}}
2015-03-19 07:22:20 [E] ActionController::ParameterMissing: key not found: prior
/opt/rh/ruby193/root/usr/share/gems/gems/strong_parameters-0.2.1/lib/action_controller/parameters.rb:55:in `require'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.24/app/controllers/katello/api/v2/environments_controller.rb:185:in `find_prior'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:521:in `block (4 levels) in _run__2732788240006921860__process_action__1153126456876487165__callbacks'



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

sat6.1 beta snap7 (Satellite-6.1.0-RHEL-7-20150317.0)


How reproducible:
always

Steps to Reproduce:
1. create new life-cycle env.
2.
3.

Actual results:
2015-03-19 07:22:20 [E] ActionController::ParameterMissing: key not found: prior

Expected results:


Additional info:

Comment 1 Sachin Ghai 2015-03-19 11:29:49 UTC
Created attachment 1003809 [details]
production.log

Comment 3 Sachin Ghai 2015-03-19 11:47:43 UTC
Looks like issue is browser specific:

reproducible with:
Firefox 35.0.1
firefox-36.0-1.fc21.x86_64

Comment 4 Sachin Ghai 2015-03-19 11:50:32 UTC
in chrome, its working fine..tested with: Version 40.0.2214.93 (64-bit)

Comment 5 Walden Raines 2015-03-20 15:21:56 UTC
Created redmine issue http://projects.theforeman.org/issues/9850 from this bug

Comment 6 Walden Raines 2015-03-20 15:49:25 UTC
I cannot reproduce this on Snap 7 with Firefox 36 given the steps above.  Please provide additional steps to reproduce.

Comment 8 Eric Helms 2015-03-22 14:48:43 UTC

*** This bug has been marked as a duplicate of bug 1189478 ***

Comment 9 Sachin Ghai 2015-03-25 05:42:39 UTC
Created attachment 1006115 [details]
missing library between quotes "" with FF36.0

Comment 10 Sachin Ghai 2015-03-25 05:43:29 UTC
This issue is still reproducible with sat6.1 beta1 snap7 compose3.