
Hi, As I reported before, as a follow up to a similar report, email tickets had no date field in the header and were reported by thunderbird as having a date of 1970... I modified the file Article.pm as follows to add a DATE header. Ruairi diff -u otrs/Kernel/System/Ticket/Article.pm /opt/otrs/Kernel/System/Ticket/Article.pm --- otrs/Kernel/System/Ticket/Article.pm 2004-09-08 12:34:51.000000000 +0100 +++ /opt/otrs/Kernel/System/Ticket/Article.pm 2004-09-22 15:11:51.000000000 +0100 @@ -16,6 +16,7 @@ use Kernel::System::StdAttachment; use Kernel::System::Crypt; +use POSIX qw(strftime); use vars qw($VERSION); $VERSION = '$Revision: 1.70 $'; $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/; @@ -1114,6 +1115,8 @@ my $InReplyTo = $Param{InReplyTo} || ''; my $Loop = $Param{Loop} || 0; my $HistoryType = $Param{HistoryType} || 'SendAnswer'; + my $DateStr = strftime "%a, %d %b %Y %H:%M:%S +0000", gmtime(); + # check needed stuff foreach (qw(TicketID UserID From Body)) { if (!$Param{$_}) { @@ -1189,6 +1192,7 @@ Cc => $Param{Cc}, Bcc => $Param{Bcc}, Subject => $Param{Subject}, + Date => $DateStr, 'Message-ID' => $MessageID, 'In-Reply-To:' => $InReplyTo, 'References' => $InReplyTo,

Can I upgrade directly from 1.1.1 to 1.3 or do I have to upgrade in steps from other major releases? Charles

Hi Charles, Charles R. Thompson wrote:
Can I upgrade directly from 1.1.1 to 1.3 or do I have to upgrade in steps from other major releases?
Yes you can. Just upgrade the datbase to 1.2 and then to 1.3. PS: Anyway, backup you system like in UPGRADE recommended. :)
Charles
-Martin

Hi Ruairi, thanks for the bug report http://bugs.otrs.org/show_bug.cgi?id=543 :) Now I fixed in in cvs head. Thanks for your help! -Martin Ruairi Hickey wrote:
Hi, As I reported before, as a follow up to a similar report, email tickets had no date field in the header and were reported by thunderbird as having a date of 1970... I modified the file Article.pm as follows to add a DATE header. Ruairi
diff -u otrs/Kernel/System/Ticket/Article.pm /opt/otrs/Kernel/System/Ticket/Article.pm --- otrs/Kernel/System/Ticket/Article.pm 2004-09-08 12:34:51.000000000 +0100 +++ /opt/otrs/Kernel/System/Ticket/Article.pm 2004-09-22 15:11:51.000000000 +0100 @@ -16,6 +16,7 @@ use Kernel::System::StdAttachment; use Kernel::System::Crypt;
+use POSIX qw(strftime); use vars qw($VERSION); $VERSION = '$Revision: 1.70 $'; $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/; @@ -1114,6 +1115,8 @@ my $InReplyTo = $Param{InReplyTo} || ''; my $Loop = $Param{Loop} || 0; my $HistoryType = $Param{HistoryType} || 'SendAnswer'; + my $DateStr = strftime "%a, %d %b %Y %H:%M:%S +0000", gmtime(); + # check needed stuff foreach (qw(TicketID UserID From Body)) { if (!$Param{$_}) { @@ -1189,6 +1192,7 @@ Cc => $Param{Cc}, Bcc => $Param{Bcc}, Subject => $Param{Subject}, + Date => $DateStr, 'Message-ID' => $MessageID, 'In-Reply-To:' => $InReplyTo, 'References' => $InReplyTo,
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
participants (3)
-
Charles R. Thompson
-
Martin Edenhofer
-
Ruairi Hickey