Project

General

Profile

Bug #24538

Save bookmark on container image manifests errors

Added by Thomas McKay over 1 year ago. Updated over 1 year ago.

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

Description

On a 'Container Image Manifests' page for a product repository, creating a bookmark fails to save.

2018-08-03T19:56:14 [I|app|] Started POST "/api/v2/bookmarks" for 127.0.0.1 at 2018-08-03 19:56:14 +0000
2018-08-03T19:56:14 [I|app|7bca7] Processing by Api::V2::BookmarksController#create as JSON
2018-08-03T19:56:14 [I|app|7bca7]   Parameters: {"name"=>"Manifests w/o Tag", "query"=>"not has tag", "apiv"=>"v2", "bookmark"=>{"name"=>"Manifests w/o Tag", "query"=>"not has tag"}}
2018-08-03T19:56:14 [I|app|7bca7] Current user set to admin (admin)
2018-08-03T19:56:14 [D|app|7bca7] Current location set to none
2018-08-03T19:56:14 [D|app|7bca7] Current organization set to Example Corporation
2018-08-03T19:56:14 [E|app|7bca7] Unprocessable entity Bookmark (id: new):
 |   Controller can't be blank
 |   Controller  is not a valid controller
 | 
2018-08-03T19:56:14 [I|app|7bca7]   Rendering api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout
2018-08-03T19:56:14 [I|app|7bca7]   Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (1.4ms)
2018-08-03T19:56:14 [D|app|7bca7] Body: {
 |   "error": {"id":null,"errors":{"controller":["can't be blank"," is not a valid controller"]},"full_messages":["Controller can't be blank","Controller  is not a valid controller"]}
 | }
 | 
2018-08-03T19:56:14 [I|app|7bca7] Completed 422 Unprocessable Entity in 39ms (Views: 7.3ms | ActiveRecord: 3.2ms)

Associated revisions

Revision 8974b8e5 (diff)
Added by Thomas McKay over 1 year ago

fixes #24538 - set controllerName for bookmarks

History

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7596 added

#3 Updated by Justin Sherrill over 1 year ago

  • Triaged changed from No to Yes
  • Found in Releases Katello 3.7.0 added

#4 Updated by Thomas McKay over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF