change in getUserIds() method.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2013 09:31 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2013 12:10 PM
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:
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2013 12:14 PM
There was a SizeLimitExceededException according to the standard 50 records limit.
