User and Groups are not displayed after Update

Hello all,
we have updated an XWiki from XWiki Enterprise 5.4.7 to XWiki Enterprise 10.11.2. We decided to use the Colibri-Skin from the old instance.

The first issue:
If we go to the user-administration, we get an empty table.
The interesting thing: The count of the total users is displayed correctly. When we try to filter the users, the total count reduces accordingly, however no user is still displayed. Interestingly, an API call is made and the User-Data also arrives the Browser, but we have noticed that the new version has additional parameters.

api-calls-edited2

We get the following two errors errors on loading the page (Frontend):

TypeError: can't convert undefined to object (prototype.js:8:1735)
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype /prototype.js:8
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:8
https://example.com/xwiki-platform-distribution-war-10.11.2/bin/jsx/XWiki/SharePage?language=en&docVersion=3.1:1
https://example.com/xwiki-platform-distribution-war-10.11.2/bin/jsx/XWiki/SharePage?language=en&docVersion=3.1:1

and

ReferenceError: makeAddHandler is not defined (XWikiPreferences:357:15)
https://example.com/xwiki-platform-distribution-war-10.11.2/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Users:357
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:8
https://example.com/xwiki-platform-distribution-war-10.11.2/bin/skin/resources/js/xwiki/table/livetable.js:1
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:8
https://example.com/xwiki-platform-distribution-war-10.11.2/bin/skin/resources/js/xwiki/xwiki-min.js?defer=false&language=en:2
self-hosted:975
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:8
https://example.com/xwiki-platform-distribution-war-10.11.2/resources/js/prototype/prototype.js:19

It almost seems like a Livetable-Error, but how I can fix it?

The second issue:
When we click on the button ‘Create User’, no dialog appears. In contrast to the first issue, no api call is made, no errors are displayed when we click the button. After the warning that lightbox.js is missing, we added it manually from the old instance to the Colibri-Skin.

Both issues occurs both in the User-Management and in the Group-Management. It does not matter if I use the Colibri-Skin or the Flamingo-Skin.

Do you have any ideas or approaches? Was there ever been similar issues?
Thank you very much in advance.

Best regards,
Basti

For some reason the method editUserOrGroup inside the usersandgroups.js was missing. We added this method from an older branch and now it works.

@basti Feel free to open a jira issue at https://jira.xwiki.org so that we fix this.

Thomas said on the chat:

it was removed in XWIKI-15611: Improve the Users and Groups administration sections · xwiki/xwiki-platform@ec9029d · GitHub so @mflorea would know more

Hello,

I know this post is old but I could reproduce the actual problem.

The reason why it didn’t work was that we installed the XWiki without any Flavor. After we did it again, but with installing the Flavor, everything was fine.

If that is still a problem, I can open the ticket.

Thank you!