[rt-users] Error by handling Attachment in dhandler/1.1.2.4 RT2

Dirk Haenelt Dirk.Haenelt at itl.justiz.sachsen.de
Thu Aug 2 07:15:16 EDT 2001


hi,
i have hier RT2 with dhandler/1.1.2.4 and a question:

1. when i click on an attachment, the html-page was deliver as
   text not html.
2. the attachment was not found: "Bad transaction number for
attachment."
   this can i found in the html source.

Is there such a bugfix for this problem?

my second problem, i have fixed this in :
...rt2/WebRT/html/Ticket/Attachment/dhandler
####
[root at rt Attachment]# diff dhandler dhandler.old 
4,7d3
<      #
<      # URL: http://server.de/Ticket/Attachment/307/245/
<      # Arg: 307/245
<      #
9,10c5,6
<         $trans = $1;
<         $attach = $2;
---
>         $trans = $2;
>         $attach = $3;
19c15
<         Abort("Bad transaction number ($trans) for attachment.");
---
>         Abort("Bad transaction number for attachment.");
####

with this fix, i have found the next problem: the mimetype and filename
for
the attachment was not set correct....

can everbody help me ?

regards
-- 
Dirk Haenelt
IT-Leitstelle JVA Dresden




More information about the rt-users mailing list