AnsweredAssumed Answered

FOLDER NAME IS INVALID

Question asked by joyola83 on Jun 17, 2014
Latest reply on Dec 8, 2014 by joyola83
I am trying to copy a directory to ALFRESCO using CIFS.

cp -R /data/* /opt/ALFRESCO/Sitios/mi-sitio/documentLibrary

I've mounted /opt/ALFRESCO before in /etc/fstab.

But I got this exception:

Constraint: 05170022 Value 'LISTA. CHOFERES. VEHICULOS.EXP.CENTAURO.' 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.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:342)
        at org.alfresco.filesys.repo.FilesystemTransactionAdvice.invoke(FilesystemTransactionAdvice.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at com.sun.proxy.$Proxy246.createDirectory(Unknown Source)
        at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.createDirectory(NonTransactionalRuleContentDiskDriver.java:187)
        at org.alfresco.filesys.repo.LegacyFileStateDriver.createDirectory(LegacyFileStateDriver.java:551)
        at org.alfresco.filesys.repo.BufferedContentDiskDriver.createDirectory(BufferedContentDiskDriver.java:461)
        at org.alfresco.jlan.smb.server.CoreProtocolHandler.procCreateDirectory(CoreProtocolHandler.java:525)
        at org.alfresco.jlan.smb.server.CoreProtocolHandler.runProtocol(CoreProtocolHandler.java:3790)
        at org.alfresco.jlan.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:369)
        at org.alfresco.jlan.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1395)
        at org.alfresco.jlan.smb.server.SMBSrvSession.processPacket(SMBSrvSession.java:1489)
        at org.alfresco.jlan.smb.server.nio.NIOCIFSThreadRequest.runRequest(NIOCIFSThreadRequest.java:150)
        at org.alfresco.jlan.server.thread.ThreadRequestPool$ThreadWorker.run(ThreadRequestPool.java:153)
        at java.lang.Thread.run(Thread.java:724

So I can't finish the copy.  How I must nomilize the name of the folder to copy to ALFRESCO?

or is it possible to disable the validation of names?

Thanks on advance

Outcomes