11-24-2017 12:10 PM
In alfresco I've got problème to upload certain file when they have special characers.
Some file withn "éèô" can't be uploaded. Just replacing the accentuated chars with unaccentuated char fix the problem.
The error that appears in the log is the following:
Caused by: org.alfresco.service.cmr.model.FileExistsException: 10240075 File or folder Analyse du rôle et des impacts.pdf already exists
at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.createImpl(FileFolderServiceImpl.java:1323)
at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.create(FileFolderServiceImpl.java:1275)
Let me know if you need the whole stacktrace.
What is strange is that some other files with special characters can be uploaded just fine.
I assume there is something wrong in the way by setup is made.
As a side note i have a ngnix in front of alfresco.
11-27-2017 04:08 AM
Seems like file already exist with the file name.Alfresco will not allow file with duplicate name on same location.
This may happen with your customization also.
11-27-2017 08:19 AM
Actually, i can send two time the same file, and the second one will have a "-1" extension added to the file name.
Eg. I send a file called "abc.pdf" and send it a second time. I will have a "abc.pdf" and "abc-1.pdf".
Also I add the same issue with file that were never sent to this installation of alfresco.
I assume that the problem is not related to the same name message.
11-27-2017 08:28 AM
can you please add code as well, and what you are doing ?Will be needing all the code which is related to this.
11-27-2017 08:34 AM
This is just by using the "share" web ui
11-28-2017 01:18 AM
Could you try to upload the file using alfrescos tomcat (bypassing nginx) so that you are shure that the Problem is Not caused by the nginx Setup?
I assume you are running Alfresco on Linux - what´s the Alfresco Version you are using?
11-28-2017 09:05 AM
I'm using alfresco community version 5.2g for the platform and 5.2f for share ui.
I'll try to access it directly, in my last attempts i needed to undo the installation in order to allow me to login again
11-29-2017 09:41 AM
Same error
11-29-2017 02:22 PM
How about the encoding configuration inside Tomcat?
Are you using UTF-8, like this? alfresco-ubuntu-install/server.xml at master · loftuxab/alfresco-ubuntu-install · GitHub
And the same question for the database.
11-29-2017 03:03 PM
I'm specifying utf-8 in uri encoding, file encoding (jvm params), the database and the proxy
Explore our Alfresco products with the links below. Use labels to filter content by product module.