• Cannot preview document with Thai Filename

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #52538  by teera_w
 
We have document that have Thai Filename that was not problem on import and add metadata group.
But when I tried preview this file, there is error PathNotFoundException. :shock: :shock:

Application error
Class: com.openkm.core.PathNotFoundException
Message: /okm:root/Invoice/2021/???.txt
Date: Fri Jun 25 18:09:28 ICT 2021


This file is stored in /okm:root/Invoice/2021/ไทย.txt
This problem was occurred on Text file only. No problem for PDF, MSOffice documents.

Note: OpenKM v6.3.10 Community Edition.
Attachments
Error_File_Thainame.jpg
Error_File_Thainame.jpg (351 KiB) Viewed 2399 times
 #52544  by jllort
 
Share the file in the issue if you have not done it. Thanks. As soon as possible we will try to take a look on it.
 #52930  by saleem55
 
I have the same issue but in Arabic,
my folder is in Arabic and i can not preview .txt file

Application error
Class: com.openkm.core.PathNotFoundException
Message: /okm:root/Thuhaib/?????????/ssis script.txt
Date: Fri Oct 15 08:31:09 GST 2021
 #52943  by jllort
 
This is solved in the current code in the master brach. You have two options:
* wait until version 6.3.12
* compile project an replace your OpenKM.war

if decide to compile current code in the master branch -> take a look at https://github.com/openkm/document-management-system ( build code from source ). When you got compiled simply follow steps described here https://docs.openkm.com/kcenter/view/ok ... -6312.html
 #52948  by saleem55
 
jllort wrote: Sat Oct 16, 2021 6:31 pm This is solved in the current code in the master brach. You have two options:
* wait until version 6.3.12
* compile project an replace your OpenKM.war

if decide to compile current code in the master branch -> take a look at https://github.com/openkm/document-management-system ( build code from source ). When you got compiled simply follow steps described here https://docs.openkm.com/kcenter/view/ok ... -6312.html

hello jllort,
*when do you expected 6.3.12 will be released ?
 #52955  by jllort
 
Usually, at the end of the year, we do a release. But you can build the current master and deploy it. It is quite easy.
 #52966  by saleem55
 
jllort wrote: Sat Oct 23, 2021 7:51 am Usually, at the end of the year, we do a release. But you can build the current master and deploy it. It is quite easy.
after building the current master 6.3.12-dev and I deploy the project ,I found that the Arabic path is showing very well but
previewing <arabic words>.txt file is not working
Attachments
patch arabic.PNG
patch arabic.PNG (29.76 KiB) Viewed 203 times
arabic.PNG
arabic.PNG (26.33 KiB) Viewed 203 times

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.