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 1330239

Summary: WebUI: Unable to save changes to an Organization
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED ERRATA QA Contact: sthirugn <sthirugn>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: cwelton, ehelms, lpramuk, sthirugn, xdmoon
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_theme_satellite-0.1.10-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:00:23 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:

Description Mike McCune 2016-04-25 17:29:56 UTC
1) Login 

2) Administer -> Organizations

3) Click the name of an org to view details

4) Hit Save.

Comment 1 Mike McCune 2016-04-25 17:32:11 UTC
Hit submit too soon:

Note the error:

"Organization not found Please try to update your request"


2016-04-25 13:31:40 [app] [I] Started PATCH "/organizations/4-The%20Demo%20Org%20Auto" for 10.10.116.43 at 2016-04-25 13:31:40 -0400
2016-04-25 13:31:40 [app] [I] Processing by OrganizationsController#update as HTML
2016-04-25 13:31:40 [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"IJlIpOOhdNjC/FIgljaMby+49YnMe0myBdKynZw4oeI=", "organization"=>{"name"=>"The Demo Org Auto", "service_level"=>"", "description"=>"", "ignore_types"=>["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "user_ids"=>[""], "smart_proxy_ids"=>["", "1"], "subnet_ids"=>[""], "compute_resource_ids"=>[""], "medium_ids"=>[""], "provisioning_template_ids"=>["96", "97", "", "7", "9", "8", "10", "12", "11", "13", "14", "72", "71", "16", "15", "19", "17", "18", "20", "21", "23", "22", "37", "38", "39", "27", "26", "28", "29", "40", "4", "5", "6", "2", "3", "1", "30", "32", "31", "33", "34", "77", "73", "75", "74", "35", "36", "41", "42", "43", "44", "45", "46", "47", "76", "48", "49", "50", "51", "52", "53", "69"], "ptable_ids"=>["", "56", "54", "55", "57", "58", "59", "60", "64", "61", "65", "63", "62"], "domain_ids"=>[""], "realm_ids"=>[""], "environment_ids"=>[""], "hostgroup_ids"=>[""], "location_ids"=>["", "3"]}, "commit"=>"Submit", "id"=>"4-The Demo Org Auto"}
2016-04-25 13:31:40 [app] [I]   Rendered common/404.html.erb within layouts/application (2.2ms)
2016-04-25 13:31:40 [app] [I]   Rendered layouts/_application_content.html.erb (0.2ms)
2016-04-25 13:31:40 [app] [I]   Rendered layouts/base.html.erb (1.8ms)
2016-04-25 13:31:40 [app] [I] Completed 404 Not Found in 194ms (Views: 5.8ms | ActiveRecord: 5.7ms)

Comment 7 sthirugn@redhat.com 2016-04-26 20:42:28 UTC
Verified using the RCM rhel 7 build from Comment 5.

satellite-6.2.0-9.0.beta.el7sat.noarch

Comment 8 sthirugn@redhat.com 2016-04-26 20:49:02 UTC
scenario 2:
I edited an org - removed all its provisioning templates and clicked Submit.  Production.log rightly showed empty list for provisioning template

==> /var/log/foreman/production.log <==
2016-04-26 16:47:49 [app] [I] Started PATCH "/organizations/3-testorg1" for 10.10.56.115 at 2016-04-26 16:47:49 -0400
2016-04-26 16:47:49 [app] [I] Processing by OrganizationsController#update as HTML
2016-04-26 16:47:49 [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"ihk5lYIx9BD0aYD4iLnstGbkpzhSGJq0fVJ2pcD0Lt4=", "organization"=>{"name"=>"testorg1", "service_level"=>"", "description"=>"", "ignore_types"=>["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "user_ids"=>[""], "smart_proxy_ids"=>["", "1"], "subnet_ids"=>[""], "compute_resource_ids"=>[""], "medium_ids"=>[""], "provisioning_template_ids"=>[""], "ptable_ids"=>["", "56", "54", "55", "57", "58", "59", "60", "64", "61", "65", "63", "62"], "domain_ids"=>[""], "realm_ids"=>[""], "environment_ids"=>[""], "hostgroup_ids"=>[""], "location_ids"=>[""]}, "commit"=>"Submit", "id"=>"3-testorg1"}

Comment 9 Bryan Kearney 2016-07-27 11:00:23 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.

https://access.redhat.com/errata/RHBA-2016:1501