Bug 1171167
| Summary: | UI: pressing "Reload" button in Configuration -> Tasks page messes up list navigation | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Milan Zázrivec <mzazrivec> | |
| Component: | UI - OPS | Assignee: | Aparna Karve <akarve> | |
| Status: | CLOSED ERRATA | QA Contact: | Dave Johnson <dajohnso> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.3.0 | CC: | mfeifer, sshveta | |
| Target Milestone: | GA | |||
| Target Release: | 5.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.4.0.0.11 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1175865 (view as bug list) | Environment: | ||
| Last Closed: | 2015-06-16 12:45:52 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1171151, 1175865 | |||
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/15162a22fb4acc7b18d58188967acf35f00d70eb commit 15162a22fb4acc7b18d58188967acf35f00d70eb Author: Aparna Karve <akarve> AuthorDate: Thu Dec 11 15:22:15 2014 -0800 Commit: Aparna Karve <akarve> CommitDate: Mon Dec 15 13:46:42 2014 -0800 Fix for paging url path The paging url path should be constructed using action_url that is passed by the controllers to the paging control. https://bugzilla.redhat.com/show_bug.cgi?id=1171167 #1182 vmdb/app/helpers/application_helper.rb | 11 ++++++---- vmdb/app/views/layouts/_pagingcontrols.html.erb | 28 ++++++++++++------------- vmdb/spec/helpers/application_helper_spec.rb | 3 +-- 3 files changed, 22 insertions(+), 20 deletions(-) *** Bug 1171150 has been marked as a duplicate of this bug. *** Fixed. Verified in master.20150217185241_aa6d1cd Fixed. Verified in 5.4.0.0.11.20150309201930_8b6a235 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://rhn.redhat.com/errata/RHBA-2015-1100.html |
Description of problem: Configuration -> Tasks page contains a list of various tasks executed / to be executed by the application. The list always contains navigation buttons: first, previous, next, last. Normally, the navigation works OK and navigating through the list would mean doing requests like: GET /miq_proxy/change_tab?page=2&tab=2 GET /miq_proxy/change_tab?page=3&tab=2 GET /miq_proxy/change_tab?page=4&tab=2 Though after pressing the "Reload" button, which is the following request: POST /miq_proxy/button?pressed=miq_task_reload the received tasks list is rendered incorrectly and navigating through the list would try to do the following request: GET /miq_proxy/button?page=2&pressed=miq_task_reload which generates an ISE: Started GET "/miq_proxy/button?page=2&pressed=miq_task_reload" ActionController::RoutingError (No route matches [GET] "/miq_proxy/button"): In another words, pressing the reload button results into an incorrectly rendered tasks list. Version-Release number of selected component (if applicable): CFME 5.3 How reproducible: Always Steps to Reproduce: 1. Navigate to Configuration -> Tasks page 2. Navigate through the rendered tasks list (next, previous, etc.) 3. Hit reload & try to navigate throught the list again Actual results: Internal server error Expected results: The navigation works correctly. Additional info: https://github.com/ManageIQ/manageiq/issues/1182