Bug #25219
closedUnable to create Content Credential bookmark via WebUI
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1638781
Description of problem:
Unable to create a bookmark from search of Content credential via WebUI, 'Controller katello_content_credentials is not a valid controller' is shown in logs.
How reproducible:
Always
Steps to Reproduce:
1. Navigate to Content -> Content Credentials
2. Select 'Bookmark this search' from searchbox' dropdown actions list
3. Type any bookmark name and query, press 'Save' button
Actual results:
Nothing happens, no flash notifications, bookmark was not created. Browser's console contains following line:
POST https://hostname/api/v2/bookmarks 422 (Unprocessable Entity)
production.log contains following lines:
2018-10-12T08:37:41 [I|app|] Started POST "/api/v2/bookmarks" for 10.36.117.161 at 2018-10-12 08:37:41 -0400
2018-10-12T08:37:41 [I|app|3cf22] Processing by Api::V2::BookmarksController#create as JSON
2018-10-12T08:37:41 [I|app|3cf22] Parameters: {"name"=>"test", "query"=>"1111", "public"=>true, "apiv"=>"v2", "bookmark"=>{"name"=>"test", "query"=>"1111", "controller"=>"api/v2/bookmarks", "public"=>true}}
2018-10-12T08:37:41 [I|app|3cf22] Current user: admin (administrator)
2018-10-12T08:37:41 [E|app|3cf22] Unprocessable entity Bookmark (id: new):
Controller katello_content_credentials is not a valid controller
2018-10-12T08:37:41 [I|app|3cf22] Rendering api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout
2018-10-12T08:37:41 [I|app|3cf22] Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (1.7ms)
2018-10-12T08:37:41 [I|app|3cf22] Completed 422 Unprocessable Entity in 40ms (Views: 4.2ms | ActiveRecord: 6.4ms)
Expected results:
No errors, bookmark was successfully created, appropriate success message is shown.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7763 added
Updated by Michael Johnson over 6 years ago
- Subject changed from Unable to create Content Credential bookmark via WebUI to Unable to create Content Credential bookmark via WebUI
- Assignee set to Michael Johnson
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Updated by Michael Johnson over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|ec27b28548dfe5da8999bc3c7e5fbeedfaf9fad1.