+++ This bug was initially created as a clone of Bug #1171167 +++ 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 --- Additional comment from CFME Bot on 2014-12-17 16:55:59 EST --- 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(-)
New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=b1f48c22a422b08bb73fa1b685d9321bae9099e2 commit b1f48c22a422b08bb73fa1b685d9321bae9099e2 Author: Aparna Karve <akarve> AuthorDate: Thu Dec 11 15:22:15 2014 -0800 Commit: Aparna Karve <akarve> CommitDate: Thu Dec 18 11:21:08 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=1175865 #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(-)
Verified in 5.3.3 Verified that there are no routing errors while navigating through tasks list after hitting reload.
*** Bug 1171151 has been marked as a duplicate of this bug. ***
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-0261.html