Details
-
Bug
-
Resolution: Invalid
-
Low
-
None
-
2.8
-
None
-
Windows XP.
Description
I realise that we state in CAC that you should set a confluence.home directory without spaces, however customers still regularly trip up over this and really we should try to support directories with spaces in the path.
This particular instance is a failure to import a site backup.
You'll see errors like -
2008-04-03 15:00:00,020 ERROR [Importing data task] [persistence.dao.hibernate.AbstractHibernateAttachmentDao$IntraHibernateAttachmentCopier] copy There was a problem retrieving attachment 'Attachment: office10.jpg v.1 (22)' from the data store. Skipping. -- url: /confluence/admin/restore.action | userName: admin | action: restore com.atlassian.confluence.pages.AttachmentDataNotFoundException: Problem while getting attachment stream (Attachment: office10.jpg v.1 (22)) from file system at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.getDataForAttachment(FileSystemAttachmentDataDao.java:75) at com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao$IntraHibernateAttachmentCopier.copy(AbstractHibernateAttachmentDao.java:466) at com.atlassian.confluence.importexport.impl.FileBackupImporter.importAttachments(FileBackupImporter.java:320) at com.atlassian.confluence.importexport.impl.FileBackupImporter.importEverything(FileBackupImporter.java:103) at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:100) at com.atlassian.confluence.importexport.impl.FileBackupImporter.doImport(FileBackupImporter.java:41) at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy58.importAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ImportLongRunningTask.runInternal(ImportLongRunningTask.java:42) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: C:\confhome\temp\import_04032008_145955\attachments-new\8\22 (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.getDataForAttachment(FileSystemAttachmentDataDao.java:71) ... 20 more