You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a kuzzle without any users, AC should display the card no user is defined
Current Behavior
First AC display that card, but click again on users and AC will show search bar, infinite loader and console error: TypeError: Cannot read property 'key' of undefined
But having a wrong filter setted in url or localStorage and the AC display the loader instead of an error state
Possible Solution
Actually no idea
Steps to Reproduce
Run Kuzzle
Go to AC on security page
click on Users in left panel
Context (Environment)
Kuzzle version: 2 (image: image: kuzzleio/kuzzle:2)
Admin Console Version: next
The text was updated successfully, but these errors were encountered:
[EDIT]: I had a bad entry in my localStorage for users filters: name="12/03/2020 15:56", id="16546084680"
Delete it resolve the bug (but I can't paste the localstorage line here....)
Url was: http://next-console.kuzzle.io/#/security/users?name=13%2F10%2F2020%2012%3A23&id=1605266606206
Since I deleted it I can't reproduce this bug
A good way to reproduce the bug would be to reconstitute the LocalStorage state that set the filters. From that point, the page must be made resilient to invalid filters coming from the LocalStorage or the URL.
Leodau
changed the title
empty security/user state bug
Empty security/user state bug
Jan 13, 2021
Expected Behavior
In a kuzzle without any users, AC should display the card
no user is defined
Current Behavior
First AC display that card, but click again on users and AC will show search bar, infinite loader and console error:
TypeError: Cannot read property 'key' of undefined
But having a wrong filter setted in url or localStorage and the AC display the loader instead of an error state
Possible Solution
Actually no idea
Steps to Reproduce
Users
in left panelContext (Environment)
Kuzzle version: 2 (image: image: kuzzleio/kuzzle:2)
Admin Console Version: next
The text was updated successfully, but these errors were encountered: