cancel
Showing results for 
Search instead for 
Did you mean: 

"Server Error : Failed to invoke operation FileManager.Import" when importing a .txt. file

Bing_Ren
Confirmed Champ
Confirmed Champ

I think I might have encountered a bug when importing a text file into a social workspace. The file is named "Working Notes.txt", edited on Ubuntu with gedit and saved in "Western (ISO-8859-15)" encoding, with just two lines of contents:

Nuxeo server address: 192.168.20.10
Mail server address: 192.168.20.12

It's just a note for convenience.

I tested the follows:

  1. drop it into a normal workspace - OK

  2. drop it into a folder under a normal workspace - OK

  3. drop into a private social workspace, of which the user is a member, got:

    Server Error : Failed to invoke operation FileManager.Import

  4. drop into a folder under a private social workspace, got same error

  5. rename the file into "Working Notes.dat" and do 3. and 4. again - OK

It seems to me this might be a bug. Please let me know if you need any further information.

Bing

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

Ok I reproduced and the error is:

Cannot create document of type Note in container with type SocialWorkspace

This should be fixed, I opened the ticket NXP-10795.

Thanks for the report.

View answer in original post

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

What errors do you get in the server logs when the Failed to invoke operation message appears?

Florent_Guillau
World-Class Innovator
World-Class Innovator

Ok I reproduced and the error is:

Cannot create document of type Note in container with type SocialWorkspace

This should be fixed, I opened the ticket NXP-10795.

Thanks for the report.

adam_bo_
Star Contributor
Star Contributor

Try to change a file encoding to "utf-8". NoteImporter accepts only "utf-8" and "iso-8859-1".