Project

General

Profile

Actions

Bug #12894

closed

updating cdn url results in ISE

Added by Justin Sherrill almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

Trying to update the cdn url on the subscription's manifest import page throws an ISE:

 | NoMethodError: undefined method `each' for nil:NilClass
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/associations/collection_association.rb:356:in `replace'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/associations/collection_association.rb:41:in `writer'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/associations/builder/association.rb:118:in `users='
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/attribute_assignment.rb:45:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:67:in `block in assign_attributes'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/attribute_assignment.rb:61:in `assign_attributes'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:64:in `block in update'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/transactions.rb:208:in `transaction'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/activerecord-4.1.5/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/protected_attributes-1.1.3/lib/active_record/mass_assignment_security/persistence.rb:63:in `update'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/foreman-tasks-0.7.8/app/models/foreman_tasks/concerns/action_triggering.rb:38:in `block in update_attributes'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/foreman-tasks-0.7.8/app/models/foreman_tasks/concerns/action_triggering.rb:110:in `dynflow_task_wrap'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/foreman-tasks-0.7.8/app/models/foreman_tasks/concerns/action_triggering.rb:38:in `update_attributes'
 | /home/vagrant/git/foreman/app/controllers/concerns/api/v2/taxonomies_controller.rb:70:in `update'
 | /home/vagrant/git/katello/app/controllers/katello/api/v2/organizations_controller.rb:68:in `update'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/actionpack-4.1.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/actionpack-4.1.5/lib/abstract_controller/base.rb:189:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.0/gems/actionpack-4.1.

Related issues 1 (0 open1 closed)

Related to Katello - Tracker #9259: Rails 4 featureResolved02/06/2015

Actions
Actions #1

Updated by John Mitsch almost 9 years ago

Actions #2

Updated by John Mitsch almost 9 years ago

Actions #3

Updated by John Mitsch almost 9 years ago

Actions #4

Updated by John Mitsch almost 9 years ago

Actions #5

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release set to 86
Actions #6

Updated by Thomas McKay almost 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Thomas McKay
Actions #7

Updated by The Foreman Bot almost 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5792 added
Actions #8

Updated by Thomas McKay over 8 years ago

  • Bugzilla link set to 1311609
Actions #9

Updated by Thomas McKay over 8 years ago

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

Also available in: Atom PDF