How to reproduce
- Import 2000 users
=> not all users imported
- Reimport the 2000
=> some more, but still not all imported
Many errors like this in logfile
Reviewing the code in UserImportController shows that in the entire import no intermediary commit is made. The code should commit after every 20th user or so.
- in update identity loop
- in create identity loop
Most likely this should also be done in BusinessGroupServiceImple methods to add/remove as owners, participant or waiting list.