09-27-2013 06:16 PM
I'm getting the SizeLimitExceededException when I'm calling the UserManager.getUserIds() method as soon as I get over 50 users.
Here's the stack trace:
[org.nuxeo.ecm.platform.usermanager.providers.UsersPageProvider] too many rows in result: 51 org.nuxeo.ecm.directory.SizeLimitExceededException: too many rows in result: 51 at org.nuxeo.ecm.directory.sql.SQLSession.query(SQLSession.java:709)
So I was wondering where I can change the config to avoid that exception, because I really need to get the list of all user id in the database.
I'm using prosgresql and Nuxeo 5.4.2
Thanks,
Dom
09-30-2013 03:45 PM
I found it, it's a config, as I expected.
To change the template of the config file, go to : [your Nuxeo installation folder]\templates\common\config\default-sql-directories-bundle.xml and change the 'querySizeLimit' value for the 'userDirectory' section.
09-30-2013 03:45 PM
I found it, it's a config, as I expected.
To change the template of the config file, go to : [your Nuxeo installation folder]\templates\common\config\default-sql-directories-bundle.xml and change the 'querySizeLimit' value for the 'userDirectory' section.
10-01-2013 07:55 AM
Note that changing the templates directly is not recommended as they're part of the Nuxeo distribution and may be overwritten on upgrade. You should create [custom templates](http
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.