Project

General

Profile

Actions

Bug #25219

closed

Unable to create Content Credential bookmark via WebUI

Added by Michael Johnson over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Content Credentials
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7763 added
Actions #2

Updated by Michael Johnson over 5 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
Actions #3

Updated by Michael Johnson over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF