change in getUserIds() method.

adam_bo_
Star Contributor
Star Contributor

In schedule handle I use the following code:

UserManager userManager = Framework.getService(UserManager.class);
List<String> users = userManager.getUserIds();

log.debug("users: " + users.size());

It have worked in Nuxeo 5.5 but in 5.8 it returns 0 as the size. What has changed between these two versions ?

2 REPLIES 2

adam_bo_
Star Contributor
Star Contributor

Ok, I found a solution. The problem was that directory should be removed in 5.8 (it was not necessary in 5.5) before it can be redefined. So, I have included extra line:

There was a SizeLimitExceededException according to the standard 50 records limit.