When we try to import X files (with parameters : batchsize=50 and Number Thread=50), if one of them is rejected for some good reasons (i.e. because one of the metedata is incorrect), the message in the import console does not indicates what file has caused the failure.
The path of the failing documents should be displayed in the upload console and returned if import is made throught REST calls.
To get that information displayed, the path of the failing document could be added the the “IntegrityRecord” created line 191 in org.alfresco.repo.node.integrity.PropertiesIntegrityEvent.
IntegrityRecord result = new IntegrityRecord(
"Invalid property value: \n" +
" Node: " + nodeRef + "\n" +
" Path: " + nodeService.getPath(nodeRef) + "\n" +
" Type: " + typeQName + "\n" +
" Property: " + propertyQName + "\n" +
" Constraint: " + e.getMessage());
See: before.png,after.png and patch.diff