Bug #8225
closedUpdating the CDN url causes an ISE
Description
Goto Redhat Subscriptions
Click on Manage Manifest
Change the cdn url to something else and Hit Save
Note one is not able to update URL. Instead we get the following error
Setting current user thread-local variable to Admin User
default_content_view_id is not allowed as nested parameter for organizations. Allowed parameters are domain_id, compute_resource_id, subnet_id, environment_id, hostgroup_id, smart_proxy_id, user_id, medium_id, organization_id, location_id, filter_id (RuntimeError)
foreman/app/controllers/api/base_controller.rb:220:in `block in find_nested_object'
foreman/app/controllers/api/base_controller.rb:204:in `each'
foreman/app/controllers/api/base_controller.rb:204:in `find_nested_object'
foreman/app/controllers/api/base_controller.rb:198:in `find_optional_nested_object
Updated by Partha Aji about 10 years ago
- Assignee set to Justin Sherrill
This issue occurs as a side effect of the following change/commit
node :default_content_view_id do |org|
org.default_content_view.id
+end
Basically this change in the show implies that this value is sent as a parameter to update when an org URL is updated via the UI. The foreman server side is coded to complain at values that it cannot update.
Updated by Partha Aji about 10 years ago
- Assignee changed from Justin Sherrill to Partha Aji
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 59
- Pull request https://github.com/Katello/katello/pull/4788 added
- Pull request deleted (
)
Updated by Partha Aji about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|9e6f47361e67ebc0703ff650ff498adb17001989.
Updated by Eric Helms about 10 years ago
- Translation missing: en.field_release set to 14
- Difficulty changed from medium to easy
- Triaged changed from No to Yes