Problem with Forward Attachments
Moderator: crythias
-
- Znuny newbie
- Posts: 25
- Joined: 10 Nov 2011, 19:02
- Znuny Version: 3.3.3
- Real Name: Leandro
- Company: Quatro Seniors
Problem with Forward Attachments
Hello all,
Im having a problem with otrs 3.1.4
When my agents forward one ticket with attachments (imageXX.jpg), this attachment just disapear, all the other attachment files still there (*.pdf, *.doc, etc).
If one ticket have a more than one file attached (file.pdf, file.doc, image01.jpg) , everything appears nice, only image01.jpg disapear.
Following the ScreenShot in attachment. Anyone know why this happens?
Im having a problem with otrs 3.1.4
When my agents forward one ticket with attachments (imageXX.jpg), this attachment just disapear, all the other attachment files still there (*.pdf, *.doc, etc).
If one ticket have a more than one file attached (file.pdf, file.doc, image01.jpg) , everything appears nice, only image01.jpg disapear.
Following the ScreenShot in attachment. Anyone know why this happens?
You do not have the required permissions to view the files attached to this post.
OTRS 3.3 + OTRS 3.2 + OTRS 3.1 + OTRS 3.0 + FreeBSD + MySQL
Re: Problem with Forward Attachments
please upgrade to the latest version of 3.1 (3.1.

"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 25
- Joined: 10 Nov 2011, 19:02
- Znuny Version: 3.3.3
- Real Name: Leandro
- Company: Quatro Seniors
Re: Problem with Forward Attachments
Thanks for reply jojo
This is a bug in 3.1.4?
This is a bug in 3.1.4?
OTRS 3.3 + OTRS 3.2 + OTRS 3.1 + OTRS 3.0 + FreeBSD + MySQL
-
- Znuny newbie
- Posts: 25
- Joined: 10 Nov 2011, 19:02
- Znuny Version: 3.3.3
- Real Name: Leandro
- Company: Quatro Seniors
Re: Problem with Forward Attachments
Ok, i can solve the problem, without update to the new version.
Thanks again.
Thanks again.
OTRS 3.3 + OTRS 3.2 + OTRS 3.1 + OTRS 3.0 + FreeBSD + MySQL
-
- Znuny newbie
- Posts: 91
- Joined: 21 Jan 2008, 08:16
- Znuny Version: Kein OTRS
- Real Name: Oliver Skibbe
- Company: MDKN
- Location: Hannover
- Contact:
Re: Problem with Forward Attachments
Would you mind to tell how you solved that problem?
1. OTRS Version: 3.0.12
Module: FAQ, extended TimeAccounting (supports Projects), SystemMonitoring, ITSM, Support
Server: Apache/2.0.55 (Ubuntu 10.04) PHP/5.2.6 mod_ssl/2.2.9 OpenSSL/0.9.8a mod_perl/2.0.4 Perl/v5.8.7.
CIPHRON Security, Communications & Engineering
CIPHRON OTRS Unterstützung & Dienstleistungen
Module: FAQ, extended TimeAccounting (supports Projects), SystemMonitoring, ITSM, Support
Server: Apache/2.0.55 (Ubuntu 10.04) PHP/5.2.6 mod_ssl/2.2.9 OpenSSL/0.9.8a mod_perl/2.0.4 Perl/v5.8.7.
-
- Znuny newbie
- Posts: 25
- Joined: 10 Nov 2011, 19:02
- Znuny Version: 3.3.3
- Real Name: Leandro
- Company: Quatro Seniors
Re: Problem with Forward Attachments
Ok. Sorry about that!!
I edited the otrs/Kernel/Modules/AgentTicketForward.pm
I search for image and edit:
# remove unused inline images
my @NewAttachmentData;
for my $Attachment (@AttachmentData) {
my $ContentID = $Attachment->{ContentID};
# if ( $ContentID && ( $Attachment->{ContentType} =~ /image/i ) ) {
if ( $ContentID && ( $Attachment->{ContentType} =~ /some_name_here/i ) ) {
my $ContentIDHTMLQuote = $Self->{LayoutObject}->Ascii2Html(
Text => $ContentID,
);#
and here.
# show attachments
for my $Attachment ( @{ $Param{Attachments} } ) {
if (
$Attachment->{ContentID}
&& $Self->{LayoutObject}->{BrowserRichText}
&& ( $Attachment->{ContentType} =~ /some_name_here/i )
# && ( $Attachment->{ContentType} =~ /image/i )
)
I hope nobody try to attach file with som_name_here
Thanks for all, and sorry for dalay
I edited the otrs/Kernel/Modules/AgentTicketForward.pm
I search for image and edit:
# remove unused inline images
my @NewAttachmentData;
for my $Attachment (@AttachmentData) {
my $ContentID = $Attachment->{ContentID};
# if ( $ContentID && ( $Attachment->{ContentType} =~ /image/i ) ) {
if ( $ContentID && ( $Attachment->{ContentType} =~ /some_name_here/i ) ) {
my $ContentIDHTMLQuote = $Self->{LayoutObject}->Ascii2Html(
Text => $ContentID,
);#
and here.
# show attachments
for my $Attachment ( @{ $Param{Attachments} } ) {
if (
$Attachment->{ContentID}
&& $Self->{LayoutObject}->{BrowserRichText}
&& ( $Attachment->{ContentType} =~ /some_name_here/i )
# && ( $Attachment->{ContentType} =~ /image/i )
)
I hope nobody try to attach file with som_name_here

Thanks for all, and sorry for dalay

OTRS 3.3 + OTRS 3.2 + OTRS 3.1 + OTRS 3.0 + FreeBSD + MySQL
-
- Znuny newbie
- Posts: 11
- Joined: 18 Jun 2013, 10:35
- Znuny Version: 3.2 and 5
- Real Name: Bureau 2C
- Company: Service des Retraites de l'Etat
- Location: France
Re: Problem with Forward Attachments
Thank you for this solution
it works also with otrs 3.2.9
is it normal to correct the code ?
what about the 3.3 version ?
it works also with otrs 3.2.9
is it normal to correct the code ?
what about the 3.3 version ?
-
- Znuny newbie
- Posts: 11
- Joined: 18 Jun 2013, 10:35
- Znuny Version: 3.2 and 5
- Real Name: Bureau 2C
- Company: Service des Retraites de l'Etat
- Location: France
Re: Problem with Forward Attachments
Hi,
I am now using the 3.2.11 version and it is the same problem !!!!
Attachment of jpg does'nt work,
except if i use a text editor and delete the content-id line in the source of the message before using otrs.
Is it possible to do something (cleaner) !
Thank you
MD
I am now using the 3.2.11 version and it is the same problem !!!!
Attachment of jpg does'nt work,
except if i use a text editor and delete the content-id line in the source of the message before using otrs.
Is it possible to do something (cleaner) !
Thank you
MD
Re: Problem with Forward Attachments
open a bug. or use another mailclient
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- 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: Problem with Forward Attachments
Maybe it's fixed with https://github.com/OTRS/otrs/commit/b1d ... 14d3e00199
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de