How to reproduce?
You have to upload the database available on ftp.alpresco.com
Import the attached models.
Recreate “fake content” or use the attached module “simulating” content.
Perform a full re index.
Export using export tool with the following options:
-d <my export location>/export -verbose -user admin -pwd admin -store "archive://SpacesStore" archive.xml
Count the number of elements exported or the numbers or lines in the generated xml. (1)
Redo the export. (2)
Number of lines exported in (1) is not equal to (2) and export (1) and (2) are partial meaning incomplete.
Export should be complete and consistent.
It was observed that setting system.acl.maxPermissionCheckTimeMillis=1000000 and system.acl.maxPermissionChecks=1200000 (high values) is a workaround.
explanation is that the « ExporterComponent » uses the
« PermissionService » bean starting with uppercase, this
leads to permissions filtering during «
maxPermissionCheckTimeMillis”, after that delay permission set is
stripped. The work I have described is made in
“ACLEntryAfterInvocationProvider ».Obviously number of permissions treated during the default delay can vary amongst export execution.
The export toll should at least issue a warning if one of the 2 limits is it, system.acl.maxPermissionCheckTimeMillis or system.acl.maxPermissionChecks.