Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role Paging In Users Not Working Properly #2174

Closed
LeoNerdoG opened this issue Nov 12, 2018 · 1 comment · Fixed by #2189
Closed

Role Paging In Users Not Working Properly #2174

LeoNerdoG opened this issue Nov 12, 2018 · 1 comment · Fixed by #2189
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console

Comments

@LeoNerdoG
Copy link
Contributor

LeoNerdoG commented Nov 12, 2018

If user adds more than 100 roles to a user (e.g. 101 roles) and then deletes all the roles on page 2 (one role in this case), Kapua does not properly refresh role list.
Even pressing Refresh button does not help.
If user wants to add a role that already exists, Kapua returns an error (which is OK, but user does not see exactly why, as roles are not displayed at all - screnshot No. 2)

Testflow:

  1. Login as kapua-sys or any other user that has proper permissions
  2. Go to Roles, create 101 roles
  3. Go to Users, create a user (e.g. user0), go to its Roles tab
  4. Add previously added roles
  5. Delete the role on page 2 and observe how roles on page 1 are not displayed properly.

Expected behavior
After all the roles are deleted on page 2, roles on page 1 should be displayed.

Screenshot No. 1:
screenshot 2018-11-12 at 10 29 48

Screenshot No. 2:
screenshot 2018-11-12 at 10 30 00

Version of Kapua
1.1.0-SNAPSHOT

Type of deployment
[ ] Local Vagrant deployment
[x] Docker
[ ] Openshift (in its variants)
[ ] Others

Main component affected
[x] Console (in case of console please report info on which browser you encountered the problem)
[ ] REST API
[ ] Message Broker
[ ] - Others

Browsers used:

  • Google Chrome (Version 69.0.3497.100 (Official Build) (64-bit))
  • Safari (Version 12.0 (13604.3.5))
  • Mozilla Firefox (63.0 (64-bit))
  • Opera (Version 55.0.2994.44)
@LeoNerdoG
Copy link
Contributor Author

I have verified that this issue has been resolved.

@Coduz Coduz added Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console labels Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants