Werk #19973 · May 13, 26
Views: Fix "view does not exist" error when reloading the "Back to view" page
After executing a command on a view (for example, Commands → Reschedule active checks, or archiving an Event Console event), the user was taken to a result page containing a "Successfully sent N commands." message and a "Back to view" link.
Reloading that page (by pressing F5 or Ctrl+R) caused an "Invalid user
input - The requested view does not exist" error. This happened because the
confirmation form's action URL did not preserve the view_name of the
underlying view, so reloading the result page issued a request without the
view identifier.
The confirmation form now keeps the view context (view_name, host, etc.) in
its action URL. Reloading the "Back to view" page now correctly re-displays
the original view.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p4All Editions