Statistics - Invalid Date

Thanks Jesse that did the trick.

Also now when I look at the time to resolve part of the stats package,
I get a different error:

[Wed Jun 18 07:32:51 2003] [error]: Invalid Date op: >= at
/opt/rt3/lib/RT/Tickets_Overlay.pm line 347.

Hmmm, something wrong with my dates?

Regards,

/Geo

This patch should fix that. Not sure why I had it so strict in the
first place. (Patch submitted as ticket #2843)

-R

Index: Tickets_Overlay.pm
RCS file: /raid/tracking-cvs/rt.3.0/lib/RT/Tickets_Overlay.pm,v
retrieving revision 1.5
diff -u -u -r1.5 Tickets_Overlay.pm
— Tickets_Overlay.pm 12 Jun 2003 17:22:18 -0000 1.5
+++ Tickets_Overlay.pm 18 Jun 2003 18:03:29 -0000
@@ -345,7 +345,7 @@
my ($sb,$field,$op,$value,@rest) = @_;

die “Invalid Date Op: $op”

  • unless $op eq “<” or $op eq “=” or $op eq “>”;
  • unless $op =~ /^(=|!=|>|<|>=|<=)$/;

my $meta = $FIELDS{$field};
die “Incorrect Meta Data for $field”

At Wed, 18 Jun 2003 17:09:30 +0930,
George Travan wrote: