[Satellite 6.2.2] - When trying to delete a content view version it throws the error: 'TypeError: Value (NilClass) '' is not any of: ForemanTasks::Concerns::ActionSubject'

Solution In Progress - Updated -

Issue

  • After upgrading to 6.2.2, when trying to delete a content view version it throws the error: 'TypeError: Value (NilClass) '' is not any of: ForemanTasks::Concerns::ActionSubject'
2016-10-24 15:55:31 [app] [I] Started PUT "/katello/api/v2/content_views/38/remove?organization_id=1" for 10.10.58.68 at 2016-10-24 15:55:31 -0400
2016-10-24 15:55:31 [app] [D] Value for params[:environment_ids] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
2016-10-24 15:55:31 [app] [I] Processing by Katello::Api::V2::ContentViewsController#remove as JSON
2016-10-24 15:55:31 [app] [I]   Parameters: {"id"=>"38", "environment_ids"=>nil, "content_view_version_ids"=>[110], "organization_id"=>"1", "api_version"=>"v2", "content_view"=>{"id"=>"38"}}
2016-10-24 15:55:31 [app] [D] Setting current user thread-local variable to admin
2016-10-24 15:55:31 [foreman-tasks/action] [E] Value (NilClass) '' is not any of: ForemanTasks::Concerns::ActionSubject. (TypeError)

Environment

  • Red Hat Satellite 6.2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In