click on Hyperlink opens a blank page

Moderator: crythias

Locked
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

click on Hyperlink opens a blank page

Post by Gunjan »

Hi,

I am using otrs 3.3.4 and I have added a hyperlink of an internal document in an article of a ticket. Now the issue is when I click on that link, it opens a blank page. but when I right click on that link and select 'open in new tab' or 'copy' and 'paste' URL to another tab, it opens that pdf file correctly. I tried a lot but could not find a reason for this!
Please help me if anybody can!

Thanks in Advance
Gunjan
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: click on Hyperlink opens a blank page

Post by reneeb »

Can you look at the webconsole of the developer tools in your browser? You might want to check if the response is different...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: click on Hyperlink opens a blank page

Post by Gunjan »

Yes I have looked in the webconsole. When I click on the Link, everything is blank i.e there is nothing in web console. but at the time of copy & paste URL or right click open in new tab, it is showing proper response.
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: click on Hyperlink opens a blank page

Post by Gunjan »

The reason that I am able to understand is - authorization. This files needs permissions to open the pdf. I am entering the credentials for file, but it seems to be that in Request header authorization is not present and I think that this is the issue. Could someone tell me how to resolve this kind of issue?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: click on Hyperlink opens a blank page

Post by reneeb »

This is new information. Can you describe the situation in detail? Can you post a sample mail (with a sample document) so that one can try to reproduce the issue?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: click on Hyperlink opens a blank page

Post by Gunjan »

I have a ticket and I am creating a new note in this ticket, in which I am adding link of a pdf file as follows:
abc.png
Now in that article when I click on the link, it asks for user name and password to open the file. After I enter credentials to open that file,it opens a new tab with no content in it. While on the other end, If I open same link in a new tab apart from otrs, it opens the pdf file correctly. Now I don't understand what is the issue with OTRS to open this file.

I hope now my point is clear?
You do not have the required permissions to view the files attached to this post.
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: click on Hyperlink opens a blank page

Post by Gunjan »

Can anyone help me on this?
Locked