Hi Asiri
Thank you for your help. I will try to test your correction that replaces not allowed
characters by '-'
Christophe
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Asiri
Rathnayake
Envoyé : vendredi 20 mars 2009 19:43
À : XWiki Users
Objet : Re: [xwiki-users] Office importer application error
Hi,
On Fri, Mar 20, 2009 at 10:55 PM, Asiri Rathnayake <
asiri.rathnayake(a)gmail.com> wrote:
Hi Christophe
On Fri, Mar 20, 2009 at 3:01 PM, PERINAUD Christophe <
Christophe.PERINAUD(a)kbl-bank.com> wrote:
Hello all,
I try to use the office importer application after migrating my 1.7.1 to
1.8-rc2.
For all documents i try to import i have this message : Internal error
while finalizing the target document
Looking in console messages on the server i found that :
[ERROR] Internal error while creating temporary files.
java.io.FileNotFoundException:
C:\DOCUME~1\BB03545\LOCALS~1\Temp\1\xwiki-office-importer-xwiki:XWiki.bb03545\input.tmp
(The filename, directory name, or volume label syntax is incorrect)
It seems that the application tries to create a temporary folder with ':'
in the name wich is prohibited under Windows.
Is there a way to change that from the interface ?
This is a very unfortunate. And I'm afraid there is no way to change this
setting from the UI either. I have created an issue for this @
http://jira.xwiki.org/jira/browse/XWIKI-3406 it will be fixed for 1.8.1 &
1.9M1 releases.
Note:- I did not try to reproduce this bug yet (kind of busy) but from your
description and looking at the code it seems quite possible.
I tried this on my XP installation but I could not reproduce it. It is
possible that this occurs when there are multiple wikis configured or ldap
authentication used where the getUser() method returns something like
<wiki>:XWiki.UserName. So it's still a bug, will be fixed.
- Asiri
Thanks.
- Asiri
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender,
except in the case of an existing written convention with the addressee. This e-mail may
contain material that is confidential and privileged for the sole use of the intended
recipient. Any review, reliance or distribution by others or forwarding without express
permission is strictly prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any
attachments are free from any computer virus or similar defect, no liability will be
accepted in that respect. Anyone accessing this e-mail must take their own precautions as
to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg
B 6395, T (352) 47 97 1