macressler / alfresco-bulk-filesystem-import

Automatically exported from code.google.com/p/alfresco-bulk-filesystem-import
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Invalid Filename #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Source = /opt/OLD_FILESYSTEM/ingenieria
2. Target = /Company Home/Sitios/ortiz-y-cia/documentLibrary/ingenieria
3. Replace Existing files = true

org.alfresco.repo.node.integrity.IntegrityException: 11083055 Found 1 integrity 
violations:
Invalid property value: 
   Node: workspace://SpacesStore/d2bea327-9443-40ce-9f95-4dba7619ea11
   Type: {http://www.alfresco.org/model/content/1.0}content
   Property: {http://www.alfresco.org/model/content/1.0}name
   Constraint: 11083054 Value 'Thumbs.db:encryptable' is not valid as a file name. This property must be a valid file name.
    at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:661)
    at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:688)
    at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:927)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:737)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
    at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
    at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:472)
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:474)
    at org.alfresco.extension.bulkfilesystemimport.impl.AbstractBulkFilesystemImporter.importBatchInTxn(AbstractBulkFilesystemImporter.java:433)
    at org.alfresco.extension.bulkfilesystemimport.impl.AbstractBulkFilesystemImporter.importImportableItemBatches(AbstractBulkFilesystemImporter.java:416)
    at org.alfresco.extension.bulkfilesystemimport.impl.AbstractBulkFilesystemImporter.importDirectory(AbstractBulkFilesystemImporter.java:325)
    at org.alfresco.extension.bulkfilesystemimport.impl.MultiThreadedBulkFilesystemImporter$UnitOfWork$1.doWork(MultiThreadedBulkFilesystemImporter.java:280)
    at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
    at org.alfresco.extension.bulkfilesystemimport.impl.MultiThreadedBulkFilesystemImporter$UnitOfWork.run(MultiThreadedBulkFilesystemImporter.java:272)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)

Is there any tool to rename files which filename is invalid?

Thanks!!!

Original issue reported on code.google.com by joyol...@gmail.com on 9 Dec 2014 at 12:30

GoogleCodeExporter commented 9 years ago
Please use the mailing list [1] for questions like this.  Thanks!

[1] http://groups.google.com/group/alfresco-bulk-filesystem-import

Original comment by pmo...@gmail.com on 11 Dec 2014 at 1:40