enonic / xp-apps

Enonic XP bundled applications.
GNU General Public License v3.0
1 stars 3 forks source link

Users App - error in browser console after deleting a role #697

Closed sgauruseu closed 6 years ago

sgauruseu commented 6 years ago
  1. Add a new role
  2. Select the role in the browse panel and press Delete

Bug: error in console, when the role has been deleted

TypeError: Cannot read property 'getKey' of null at UserTreeGridItem.getDataId (http://localhost:8080/admin/tool/com.enonic.xp.app.users/main/_/asset/com.enonic.xp.app.users:1521204336/js/bundle.js:217:39) at http://localhost:8080/admin/tool/com.enonic.xp.app.users/main/_/asset/com.enonic.xp.app.users:1521204336/js/bundle.js:3704:55 at Array.forEach (<anonymous>) at UserItemsTreeGrid.updateUserNode (http://localhost:8080/admin/tool/com.enonic.xp.app.users/main/_/asset/com.enonic.xp.app.users:1521204336/js/bundle.js:3703:18) at http://localhost:8080/admin/tool/com.enonic.xp.app.users/main/_/asset/com.enonic.xp.app.users:1521204336/js/bundle.js:3455:28 at http://localhost:8080/admin/tool/com.enonic.xp.app.users/main/_/asset/com.enonic.xp.app.users:1521204336/js/bundle.js:693:13 at Array.forEach (<anonymous>) at PrincipalServerEventsHandler.notifyUserItemUpdated (http://localhost:8080/admin/tool/com.enonic.xp.app.users/main/_/asset/com.enonic.xp.app.users:1521204336/js/bundle.js:692:39) at PrincipalServerEventsHandler.handleUserItemUpdate

console