Why uploader-plus plugin cuts the path to sites

cancel
Showing results for 
Search instead for 
Did you mean: 
viktoriyamoskov
Active Member

Why uploader-plus plugin cuts the path to sites

Good day.

I work with uploader-plus plugin (GitHub - softwareloop/uploader-plus: An Alfresco uploader that prompts for metadata ) .

In Alfresco Share the system folders shown in Russia language. But when I try to config plugin the path to the folders in the repository displayed incorrectly: the first characters are truncated. Therefore, the plugin can not be used in the desired folder.

Path in response:
path    /Хранилище/Сайты/syncprivate/documentLibrary
"path": "\/\u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\/\u0421\u0430\u0439\u0442\u044b\/syncprivate\/documentLibrary",

But in "yui-panel-container yui-dialog shadow" I see that paths cuts. Why?

What is the reason for the incorrect path to the folder and how fix it?

Thank you.

1 Reply
cesarista
Customer

Re: Why uploader-plus plugin cuts the path to sites

Hi:

I remember something similar some time ago due internationalization with this addon, in my case in Spanish. The thing is that somewhere in the code (uploader-plus-admin.js) it is expecting "Company Home" for cropping 13 characters path.substring(13). Probably changing this 13 by the length of the Russian literal is enough to fix this.

Kind regards.

--C.