Skip Menu |

This queue is for tickets about the RT-Extension-RepeatTicket CPAN distribution.

Report information
The Basics
Id: 99410
Status: new
Priority: 0/
Queue: RT-Extension-RepeatTicket

Owner: Nobody in particular
Requestors: dopheide [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

MIME-Version: 1.0
X-Spam-Status: No, score=-2.601 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001] autolearn=ham
Content-Disposition: inline
X-Spam-Flag: NO
Content-Type: multipart/signed; boundary="xYEba/cIt2nZJmCG"; micalg="pgp-sha1"; protocol="application/pgp-signature"
Message-ID: <20141010074224.GW30893 [...]>
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -2.601
Received: from localhost (localhost []) by (Postfix) with ESMTP id 61B93240637 for <cpan-bug+RT-Extension-RepeatTicket [...]>; Fri, 10 Oct 2014 03:42:35 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id we9A8X3rOrn1 for <cpan-bug+RT-Extension-RepeatTicket [...]>; Fri, 10 Oct 2014 03:42:34 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id BE65024062E for <bug-RT-Extension-RepeatTicket [...]>; Fri, 10 Oct 2014 03:42:33 -0400 (EDT)
Received: (qmail 25542 invoked by alias); 10 Oct 2014 07:42:32 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Fri, 10 Oct 2014 00:42:30 -0700
Received: by (Postfix, from userid 1141) id 1100B1EE003; Fri, 10 Oct 2014 09:42:24 +0200 (CEST)
Delivered-To: cpan-bug+RT-Extension-RepeatTicket [...]
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: $RepeatTicketLeadTime can not be 0
Return-Path: <dopheide [...]>
X-RT-Mail-Extension: rt-extension-repeatticket
X-Original-To: cpan-bug+RT-Extension-RepeatTicket [...]
Date: Fri, 10 Oct 2014 09:42:24 +0200
To: bug-RT-Extension-RepeatTicket [...]
From: Bart Dopheide <dopheide [...]>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 2225
Download (untitled) / with headers
text/plain 2.1k
Hi, In version 0.07 of RT::Extension::RepeatTicket, $RepeatTicketLeadTime defaults to 14. When overruling this default via etc/ and using a value of 1, everything still works. But if we do not want a lead time, i.e. a value of 0, the default becomes 14. The use case for a zero lead time is that we want to have daily operationals and we want them to pop up, at, say 07:00 (AM). By setting $RepeatTicketLeadTime to 0, we want to prevent clobbering up the back officers' overview of outstanding tickets. The following patch seems to work for us: [root@rt ~]# diff -u /opt/rt4/local/plugins/RT-Extension-RepeatTicket/html/Ticket/Elements/EditRecurrence{-dd20141010BD,} --- /opt/rt4/local/plugins/RT-Extension-RepeatTicket/html/Ticket/Elements/EditRecurrence-dd20141010BD 2014-02-13 23:10:12.000000000 +0100 +++ /opt/rt4/local/plugins/RT-Extension-RepeatTicket/html/Ticket/Elements/EditRecurrence 2014-10-10 09:02:06.701526871 +0200 @@ -231,7 +231,8 @@ $ARGSRef->{'repeat-details-monthly'} ||= 'day'; $ARGSRef->{'repeat-details-yearly'} ||= 'day'; $ARGSRef->{'repeat-end'} ||= 'none'; -$ARGSRef->{'repeat-lead-time'} ||= RT->Config->Get('RepeatTicketLeadTime') || 14; +$ARGSRef->{'repeat-lead-time'} = RT->Config->Get('RepeatTicketLeadTime') unless (defined ($ARGSRef->{'repeat-lead-time'})); +$ARGSRef->{'repeat-lead-time'} = 14 unless (defined ($ARGSRef->{'repeat-lead-time'})); $ARGSRef->{'repeat-coexistent-number'} ||= RT->Config->Get('RepeatTicketCoexistentNumber') || 1; my $input = sub { [root@rt ~]# FWIW: [root@rt ~]# perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at, the Perl Home Page. [root@rt ~]# uname -a Linux rt.plusine.intern 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu Jul 31 17:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [root@rt ~]# Best regards, Bart Dopheide
Content-Description: Digital signature
Content-Type: application/pgp-signature; name="signature.asc"
Content-Length: 836
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to