[bug] cannot open document link with default.lang property set

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.
Post Reply
seregaxvm
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Thu Oct 25, 2018 7:22 am

[bug] cannot open document link with default.lang property set

Post by seregaxvm » Tue Dec 18, 2018 2:15 pm

When default.lang property is set, OpenKM 6.3 CE does not follow the shared document link (The one, received via email when choosing File->Send document link).
When opening document without this property set, browser link looks something like this:

Code: Select all

http://myserver.com/OpenKM/frontend/index.jsp?uuid=d6175020-6caf-4f4d-856f-e649f9a80399
OpenKM then opens location of the file with requested UUID. When property default.lang is set, browser link looks like this:

Code: Select all

http://myserver.com/OpenKM/frontend/index.jsp?uuid=d6175020-6caf-4f4d-856f-e649f9a80399?lang=ru-RU
Note the additional ?lang=ru-RU in the URL. OpenKM does not open these kinds of links and opens main window instead.

jllort
Moderator
Moderator
Posts: 10373
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: [bug] cannot open document link with default.lang property set

Post by jllort » Wed Dec 19, 2018 6:05 pm

Your url is wrong

Code: Select all

http://myserver.com/OpenKM/frontend/index.jsp?uuid=d6175020-6caf-4f4d-856f-e649f9a80399?lang=ru-RU
the last ? should be and &

Code: Select all

http://myserver.com/OpenKM/frontend/index.jsp?uuid=d6175020-6caf-4f4d-856f-e649f9a80399&lang=ru-RU
How it has been generated this URL, by hand or by OpenKM ?

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests