Bug 1330239 - WebUI: Unable to save changes to an Organization
Summary: WebUI: Unable to save changes to an Organization
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent vote
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: sthirugn@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-25 17:29 UTC by Mike McCune
Modified: 2019-09-26 18:04 UTC (History)
5 users (show)

Fixed In Version: rubygem-foreman_theme_satellite-0.1.10-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:00:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.