Page 1 of 2

Copy URL to a file won't work by uuid

PostPosted:Thu May 02, 2013 8:48 am
by Catscratch
Hi,

I don't know if there is some kind of bugtracker, so I post it here. :-)

If I use the copy url button of e.g. a document I get an url like this: https://<MYOKMURL>/OpenKM/index.jsp?uuid=20986e68-1c23-4b53-aebb-7b7ac915b562.

When I access this url in the browser I only got to the okm:root node. Also the url in the browser is replaced by the standard url (https://<MYOKMURL>/OpenKM/frontend/index.jsp) So it seems the redirect is not working properly. Is this a known bug?

Thank you.

Re: Copy URL to a file won't work by uuid

PostPosted:Fri May 03, 2013 6:52 pm
by pavila
Can you reproduce this issue in the online demo http://demo.openkm.com ?

Re: Copy URL to a file won't work by uuid

PostPosted:Fri May 03, 2013 9:40 pm
by Catscratch
Ok, first of all. The demo is not configured properly.

This is an example link I copied by the copy-button:
http://localhost:8080/OpenKM/index.jsp? ... 474bdc1db2

If I correct the url manually it seems to redirect me to the right folder, yes.

Re: Copy URL to a file won't work by uuid

PostPosted:Mon May 06, 2013 11:07 am
by pavila
Sure, you need to configure the application.url configuration property.

Re: Copy URL to a file won't work by uuid

PostPosted:Mon May 06, 2013 11:18 am
by Catscratch
I know. The link I posted above was from YOUR demo system. :-) So your demo system needs to set the application.url key.

But however, it is not solving my issues in my own application. I can't reproduce the behaviour.

Re: Copy URL to a file won't work by uuid

PostPosted:Tue May 07, 2013 11:41 am
by pavila
Thanks, I have fixed the online demo :)

Re: Copy URL to a file won't work by uuid

PostPosted:Tue May 07, 2013 1:36 pm
by Catscratch
Ok, now it works well in the demo system. But still not in my installation. :-)

Re: Copy URL to a file won't work by uuid

PostPosted:Tue May 07, 2013 3:36 pm
by anyonebutnoone
I have the same behavior here with community 6.2.3

Re: Copy URL to a file won't work by uuid

PostPosted:Tue May 07, 2013 10:11 pm
by rbahntje
Same problem with Version: 6.2.3 (build: 7945)
Here is an example of a copied URL

http://192.168.181.229:8080/OpenKM/inde ... e046434d2c

My server IP is 192.168.181.229 and the application server is running in port 8080

What I am missing?

Re: Copy URL to a file won't work by uuid

PostPosted:Wed May 08, 2013 5:42 am
by Catscratch
The problem seems that the ?uuid parameter is not used or properly used.

Re: Copy URL to a file won't work by uuid

PostPosted:Thu May 09, 2013 3:48 pm
by jllort
Do you have grants to see that uuid ?

Re: Copy URL to a file won't work by uuid

PostPosted:Thu May 09, 2013 7:47 pm
by Catscratch
Don't know what you mean. :-)

Re: Copy URL to a file won't work by uuid

PostPosted:Sat May 11, 2013 9:29 am
by jllort
If the user who receives notification ( url with uuid ) has enought grants to see the document. Are you testing see the url with uuid with same user which you have copied or other, if other user, then he can access to that document ?

Re: Copy URL to a file won't work by uuid

PostPosted:Sat May 11, 2013 9:37 am
by Catscratch
Ah ok. I tested it with the same user who copied the url. So he has the access rights.

Re: Copy URL to a file won't work by uuid

PostPosted:Sun May 12, 2013 3:29 pm
by jllort
And in that case is not going right or goes right ?