Project

General

Profile

Bug #23850

lifecycle environment container image tags search 500s on server

Added by Thomas McKay about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Lifecycle Environments
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Visit a lifecycle environment's "container image tags" page then pick a content view and a repository to reduce search.

https://devel.example.com/katello/api/v2/docker_tags?content_view_version_id=4&environment_id=5&library=true&page=1&paged=true&per_page=20&repository_id=20&search=

Server error

018-06-07T15:20:36 [E|app|a75b4] NoMethodError: undefined method `docker_tags' for #<Katello::ContentViewVersion:0x007f607b5577c8>
 | Did you mean?  docker_tag_count
 | /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:432:in `method_missing'
 | /home/vagrant/code/katello/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:127:in `filter_by_content_view_version'
 | /home/vagrant/code/katello/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:72:in `index_relation'
 | /home/vagrant/code/katello/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:32:in `index'
 | /home/vagrant/code/katello/app/controllers/katello/api/v2/docker_tags_controller.rb:24:in `index'

Associated revisions

Revision d434ddae (diff)
Added by Thomas McKay about 3 years ago

fixes #23850,#23866 - lifecycle container image tags

History

#1 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

#2 Updated by The Foreman Bot about 3 years ago

  • Assignee set to Thomas McKay
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7449 added

#3 Updated by Thomas McKay about 3 years ago

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

Also available in: Atom PDF