Bug #22017
updating a repo fails with "undefined method content"
Description
Create a repo
Try to update it
undefined method `content' for #<Katello::Repository:0x007f18307b33e8>
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/activemodel-4.2.9/lib/active_model/attribute_methods.rb:433:in `method_missing'
/home/vagrant/katello/app/lib/actions/katello/repository/update.rb:18:in `plan'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.33/lib/dynflow/action.rb:473:in `block (3 levels) in execute_plan'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.33/lib/dynflow/middleware/stack.rb:26:in `call'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.33/lib/dynflow/middleware/stack.rb:26:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.33/lib/dynflow/middleware.rb:18:in `pass'
/home/vagrant/.rvm/gems/ruby-2.2.4/gems/foreman-tasks-0.10.6/app/lib/actions/middleware/keep_current_user.rb:23:in `block in plan'
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7120 added
#2
Updated by Justin Sherrill over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|59d1cc306d7e8a4b1fecc55269280c554da5a65e.
#3
Updated by Eric Helms over 4 years ago
- Legacy Backlogs Release (now unused) set to 284
#4
Updated by Jonathon Turel over 4 years ago
- Related to Bug #21979: Not possible to view/edit repository: undefined method 'product' for # added
Fixes #22017 - undef method content when updating repo