Creating a new product by limited permissions user fails with error "NoMethodError: undefined method `[]' for nil:NilClass"

Solution Verified - Updated -

Issue

  • Creating a new product by limited permissions user fails with error
"NoMethodError: undefined method `[]' for nil:NilClass"
  • The product is created even with the error on step "Actions::Katello::Product::ReindexSubscriptions" and the task becomes on paused state and the product can not be deleted until cleaning up the task.

Environment

  • Red Hat Satellite 6.4
  • Red Hat Satellite 6.5

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