-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.4.12rc1, 7.0.0beta2
-
S24-W34/35
-
1
Problem description: In case if user attempts to enable or to disable a host, from Data collection => Hosts view, that was removed by another user, then a blank page with the "Access denied" JSON error is returned:
{"error":{"title":"Access denied","messages":["You are logged in as \"Admin\". You have no permissions to access this page.","If you think this message is wrong, please consult your administrators about getting the necessary permissions."]}}
In case if User attempts to Delete a host in the same situation (when a host is already deleted by another user), then the Data collection => Hosts view remains opened and the "Access denied" error is returned as a message. The same behavior should be observed when enabling/disabling such host.
Steps to reproduce:
- Open Data collection => Hosts in two different browsers
- Select a host (set the checkbox) in the 1st browser in the list of hosts
- Select the same host in the 2nd browser and press "Delete" button
- In the 1st browser reload the page and see that the selected host counter still counts this host as selected, even though it doesn't exist anymore.
- Press "Delete button and accept the alert"
- Observe that the Data collection => Hosts view remains opened and the "Access denied" error is returned as a message.
- Repeat steps 1-5, but in the end press Enable or Disable button instead of the Delete button.
Result: a blank page is displayed, the "Access denied" message is returned in JSON format.
Expected: the Data collection => Hosts view should remain opened and the "Access denied" error should be returned as a message.
- causes
-
ZBX-25374 Loading animation for host status switch is removed too soon
- READY TO DEVELOP