Project

General

Profile

Actions

Bug #8225

closed

Updating the CDN url causes an ISE

Added by Partha Aji over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Partha Aji over 9 years ago

  • Assignee set to Justin Sherrill

This issue occurs as a side effect of the following change/commit

https://github.com/Katello/katello/commit/b761e5acb522892d0969d1f2ad3db9e060dadf74#diff-1a95e34a2f17999548b42687f6af7388R9

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.

Actions #2

Updated by Partha Aji over 9 years ago

  • Assignee changed from Justin Sherrill to Partha Aji
Actions #3

Updated by The Foreman Bot over 9 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 ()
Actions #4

Updated by Partha Aji over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Eric Helms over 9 years ago

  • Translation missing: en.field_release set to 14
  • Difficulty changed from medium to easy
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF