[ https://jira.nuxeo.com/browse/NXP-8048?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel\#worklog-{worklog.getId()} ]
Thomas Roger logged work on NXP-8048: ------------------------------------- Author: Thomas Roger Created on: 05/12/11 16:42 Start Date: 05/12/11 16:42 Worklog Time Spent: 4 hours Issue Time Tracking ------------------- Worklog Id: (was: 27503) Time Spent: 4 hours Remaining Estimate: 0 minutes > Correctly create folders in the Copy command > -------------------------------------------- > > Key: NXP-8048 > URL: https://jira.nuxeo.com/browse/NXP-8048 > Project: Nuxeo Enterprise Platform > Issue Type: Bug > Components: Admin Center > Reporter: Thomas Roger > Assignee: Thomas Roger > Fix For: 5.5 > > Time Spent: 4 hours > Remaining Estimate: 0 minutes > > When installing a MP with a template with more than one level of folders, the > folders are not correctly created and we end up with: > {code} > org.nuxeo.connect.update.PackageException: Failed to copy > /opt/starship/data/packages/store/nuxeo-social-collaboration-5.5.0-SNAPSHOT/install/templates/collaboration/config/social-collaboration-config.xml > at > org.nuxeo.connect.update.impl.task.commands.Copy.doCopy(Copy.java:259) > at > org.nuxeo.connect.update.impl.task.commands.Copy.doCopy(Copy.java:148) > at > org.nuxeo.connect.update.impl.task.commands.Copy.doCopy(Copy.java:148) > at > org.nuxeo.connect.update.impl.task.commands.Copy.doCopy(Copy.java:148) > at org.nuxeo.connect.update.impl.task.commands.Copy.doRun(Copy.java:129) > at > org.nuxeo.connect.update.impl.task.commands.AbstractCommand.run(AbstractCommand.java:112) > at > org.nuxeo.connect.update.impl.task.CommandsTask.doRun(CommandsTask.java:119) > at > org.nuxeo.connect.update.impl.task.InstallTask.doRun(InstallTask.java:51) > at > org.nuxeo.connect.update.impl.task.AbstractTask.run(AbstractTask.java:239) > at > org.nuxeo.ecm.admin.offline.update.LocalPackageManager.performTask(LocalPackageManager.java:354) > at > org.nuxeo.ecm.admin.offline.update.LocalPackageManager.updatePackage(LocalPackageManager.java:330) > at > org.nuxeo.ecm.admin.offline.update.LocalPackageManager.update(LocalPackageManager.java:273) > at > org.nuxeo.ecm.admin.offline.update.LocalPackageManager.run(LocalPackageManager.java:148) > at > org.nuxeo.ecm.admin.offline.update.LocalPackageManager.main(LocalPackageManager.java:105) > Caused by: java.io.FileNotFoundException: > /opt/starship/nuxeo-dm-5.5-SNAPSHOT-tomcat/templates/collaboration/config.tmp > (Not a directory) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.<init>(FileOutputStream.java:194) > at java.io.FileOutputStream.<init>(FileOutputStream.java:145) > at org.nuxeo.common.utils.FileUtils.copyFile(FileUtils.java:358) > at org.nuxeo.common.utils.FileUtils.copy(FileUtils.java:341) > at > org.nuxeo.connect.update.impl.task.commands.Copy.doCopy(Copy.java:250) > ... 13 more > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets