change in getUserIds() method.

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 ?

0 votes

1 answers

667 views

ANSWER



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:

0 votes



There was a SizeLimitExceededException according to the standard 50 records limit.
11/29/2013