Project

General

Profile

Bug #22017

updating a repo fails with "undefined method content"

Added by Justin Sherrill over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Related to Katello - Bug #21979: Not possible to view/edit repository: undefined method 'product' for #Closed2017-12-14

Associated revisions

Revision 59d1cc30 (diff)
Added by Justin Sherrill over 4 years ago

Fixes #22017 - undef method content when updating repo

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

#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

Also available in: Atom PDF