Hi,
I am facing one issue while importing of the zip file.
I have set a rule to import zip file in to one space and found zip file extracted properly for the first time, after that I have added few more files to that zip and want to update the zip file, if I do that through UI, the zip file is not extracting, application is throwing following error
[org.alfresco.web.ui.common.Utils] Failed to run Actions due to error: 08080003 Failed to process ZIP file.
org.alfresco.error.AlfrescoRuntimeException: 08080003 Failed to process ZIP file.
at org.alfresco.repo.action.executer.ImporterActionExecuter.importDirectory(ImporterActionExecuter.java:310)
at org.alfresco.repo.action.executer.ImporterActionExecuter.executeImpl(ImporterActionExecuter.java:221)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:711)
at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:648)
at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:510)
…
at java.lang.Thread.run(Thread.java:595)
Caused by: org.alfresco.service.cmr.model.FileExistsException: Existing file or folder testfolder already exists
at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.createImpl(FileFolderServiceImpl.java:786)
at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.create(FileFolderServiceImpl.java:735)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
I am not able to get any replacing/updating flag to that action and in code it is calling NodeService.createNode() which is throwing DuplicateChildNameException . In java also I am not finding any flag to replace or update the existing files/folders
is there any alternatives to update existing file while extracting zip?
Any help will greatly appreciated
Harish