Page 1 of 1

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

PostPosted:Tue Dec 18, 2018 2:15 pm
by seregaxvm
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.

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

PostPosted:Wed Dec 19, 2018 6:05 pm
by jllort
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 ?