[rt-users] Open stalled ticket (timed)

rt-users rt-users at lists.netways.de
Mon Dec 23 05:31:13 EST 2002


Hi,

>Conversation: [rt-users] Open stalled ticket (timed)
>Subject: RE: [rt-users] Open stalled ticket (timed)
>
>
>On Fri, 2002-12-20 at 18:28, rt-users wrote:
>
>> my $Add = $session{'CurrentUser'}->UserObj->RemindStarts*3600;
>
>RemindStarts doesn't seem to be implemented in RT::User. If 
>you implemented it yourself, could you send that code too?

Oh, that is a database field, where a user can set the time, he wants to
be notified before the starts date. Just set it to 0 (zero)

my $Add = 0;

BTW. There is a typo in RT::Tickets, that makes the code i posted
useless. There was a posting a few days ago. Here is the patch from this
posting:

*** Tickets.pm.orig	Tue Aug 27 15:30:16 2002
--- Tickets.pm	Tue Aug 27 14:52:42 2002
***************
*** 53,59 ****
  	      HasDepender => 'LINK',
  	      RelatedTo => 'LINK',
                Told => 'DATE',
!               StartsBy => 'DATE',
                Started => 'DATE',
                Due  => 'DATE',
                Resolved => 'DATE',
--- 53,59 ----
  	      HasDepender => 'LINK',
  	      RelatedTo => 'LINK',
                Told => 'DATE',
!               Starts => 'DATE',
                Started => 'DATE',
                Due  => 'DATE',
                Resolved => 'DATE',
***************
*** 110,115 ****
--- 110,116 ----
  		 OPERATOR => '=',
  		 VALUE => undef,
  		 DESCRIPTION => undef,
+ 		 QUOTEVALUE => 1,
  		 @_
  	       );
     $args{'DESCRIPTION'} = "Autodescribed: ".$args{'FIELD'} .
$args{'OPERATOR'} . $args{'VALUE'},
***************
*** 1171,1176 ****
--- 1172,1178 ----
  				 ENTRYAGGREGATOR => 'AND',
  				 OPERATOR => $restriction->{'OPERATOR'},
  				 VALUE => $restriction->{'VALUE'},
+ 				 QUOTEVALUE =>
$restriction->{'QUOTEVALUE'},
  			       );
  	}
  	# }}}



More information about the rt-users mailing list