Project

General

Profile

Actions

Bug #23850

closed

lifecycle environment container image tags search 500s on server

Added by Thomas McKay over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Lifecycle Environments
Target version:
Difficulty:
Triaged:
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'

Actions

Also available in: Atom PDF