Ticket attachments not showing up correctly

Moderator: crythias

Locked
christiaanvana
Znuny newbie
Posts: 14
Joined: 12 Nov 2012, 16:19
Znuny Version: 3.1.11

Ticket attachments not showing up correctly

Post by christiaanvana »

When OTRS receives an e-mail with an attachment and it creates a ticket the attachment is not showing up correctly, it links the attachment as:
file:///otrs/index.pl?Action=AgentTicketAttachment;Subaction=HTMLView;ArticleID=123;FileID=2;

The file:/// has to be replaced with the URL of OTRS instead.

Is there any way I can fix this?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticket attachments not showing up correctly

Post by jojo »

I never heard that OTRS will behve like this. Please check your OTRS version and all changes somebody di. If needed please update to the latest patchlevel of your version.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
christiaanvana
Znuny newbie
Posts: 14
Joined: 12 Nov 2012, 16:19
Znuny Version: 3.1.11

Re: Ticket attachments not showing up correctly

Post by christiaanvana »

I use OTRS 3.1.11 with the ITSM packages!
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticket attachments not showing up correctly

Post by jojo »

try a different browser
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
christiaanvana
Znuny newbie
Posts: 14
Joined: 12 Nov 2012, 16:19
Znuny Version: 3.1.11

Re: Ticket attachments not showing up correctly

Post by christiaanvana »

I use Firefox and it says file:\\, with IE it shows index.pl?... so that's correct but the image is still not showing.
christiaanvana
Znuny newbie
Posts: 14
Joined: 12 Nov 2012, 16:19
Znuny Version: 3.1.11

Re: Ticket attachments not showing up correctly

Post by christiaanvana »

Sorry it is an image which was placed inline into the email by a user, the image is not shown in the ticket!
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticket attachments not showing up correctly

Post by jojo »

so the error was dine by the email client. Not an OTRS error!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
christiaanvana
Znuny newbie
Posts: 14
Joined: 12 Nov 2012, 16:19
Znuny Version: 3.1.11

Re: Ticket attachments not showing up correctly

Post by christiaanvana »

Well if I copy the image url from the ticket and paste it in the address bar of IE the image is shown correctly! So the <img> tag in the ticket isn't working correctly!
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: Ticket attachments not showing up correctly

Post by reneeb »

Can you show us the source code of that mail? ("unformatted view" of the mail -> enable "Ticket::Frontend::PlainView" in SysConfig first [ Ticket -> Frontend::Agent::Ticket::ViewZoom ])

I think there is a "base" url set (see my OTRS bug: http://bugs.otrs.org/show_bug.cgi?id=8880 )
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
Locked