Bug 1802229
| Summary: | Unable to save bookmarks for task search queries in Satellite 6.7 beta. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Kaushik Sajjan Agarwal <kagarwal> |
| Component: | Tasks Plugin | Assignee: | Adam Ruzicka <aruzicka> |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.7.0 | CC: | apatel, aruzicka, egolov, kgaikwad, mhulan, mmccune |
| Target Milestone: | 6.7.0 | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-foreman-tasks-0.17.5.2-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-14 13:28:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Created redmine issue https://projects.theforeman.org/issues/29003 from this bug Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka PR with the fix was merged in upstream, moving to POST. Verified on satellite 6.7 snap 15, bookmark can be successfully saved and applied on the tasks page. The public setting for the bookmark is honoured. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1454 |
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.