Project

General

Profile

Actions

Bug #23850

closed

lifecycle environment container image tags search 500s on server

Added by Thomas McKay almost 6 years ago. Updated almost 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 #1

Updated by Justin Sherrill almost 6 years ago

  • translation missing: en.field_release set to 338
Actions #2

Updated by The Foreman Bot almost 6 years ago

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

Updated by Thomas McKay almost 6 years ago

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

Also available in: Atom PDF