Project

General

Profile

Actions

Bug #29003

closed

Unable to save bookmarks for task search queries in Satellite 6.7 beta.

Added by Adam Ruzicka about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1802229

Description of problem:
Unable to save bookmarks for task search queries in Satellite GUI.

Version-Release number of selected component (if applicable):
Red Hat Satellite 6.7 - Beta

How reproducible:
Always

Steps to Reproduce:
1. Navigate to the Monitor >> Tasks in the Satellite GUI.
2. Enter any search query and try to save the search query as a bookmark.
3. When we click on Save, nothing happens.

Actual results:

1. Nothing happens. No bookmark saved.

2. Observed following error traceback as below:

---
2020-02-12T11:09:47 [I|app|a37719a7] Started POST "/api/bookmarks" for 10.76.0.14 at 2020-02-12 11:09:47 -0500
2020-02-12T11:09:47 [I|app|a37719a7] Processing by Api::V2::BookmarksController#create as JSON
2020-02-12T11:09:47 [I|app|a37719a7] Parameters: {"name"=>"test", "query"=>"state = scheduled ", "public"=>true, "apiv"=>"v2", "bookmark"=>{"name"=>"test", "query"=>"state = scheduled ", "controller"=>"api/v2/bookmarks", "public"=>true}}
2020-02-12T11:09:47 [E|app|a37719a7] Unprocessable entity Bookmark (id: new):
Controller tasks is not a valid controller

2020-02-12T11:09:47 [I|app|a37719a7] Rendering api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout
2020-02-12T11:09:47 [I|app|a37719a7] Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (4.3ms)
2020-02-12T11:09:47 [I|app|a37719a7] Completed 422 Unprocessable Entity in 71ms (Views: 23.6ms | ActiveRecord: 14.5ms)
2020-02-12T11:09:52 [I|app|73ff56db] Started POST "/api/bookmarks" for 10.76.0.14 at 2020-02-12 11:09:52 0500
2020-02-12T11:09:52 [I|app|73ff56db] Processing by Api::V2::BookmarksController#create as JSON
2020-02-12T11:09:52 [I|app|73ff56db] Parameters: {"name"=>"test", "query"=>"state = scheduled ", "public"=>false, "apiv"=>"v2", "bookmark"=>{"name"=>"test", "query"=>"state = scheduled ", "controller"=>"api/v2/bookmarks", "public"=>false}}
2020-02-12T11:09:52 [E|app|73ff56db] Unprocessable entity Bookmark (id: new):
Controller tasks is not a valid controller
--

Expected results:

We should be able to save the search query as a bookmark.

Actions #1

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman-tasks/pull/503 added
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases foreman-tasks-1.0.2 added
Actions #3

Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Adam Ruzicka about 4 years ago

  • Subject changed from Unable to save bookmarks for task search queries in Satellite 6.7 beta. to Unable to save bookmarks for task search queries in Satellite 6.7 beta.
  • Fixed in Releases foreman-tasks-1.1.0 added
  • Fixed in Releases deleted (foreman-tasks-1.0.2)
Actions

Also available in: Atom PDF