[rt-users] RT3 approvals system

ben at atomicmatrix.net ben at atomicmatrix.net
Mon Jul 7 09:41:37 EDT 2003


I'm having a little trouble setting it up.  I have the General Queue set
up as follows:

On Create Create Tickets with template codereview

===Create-Ticket: codereview
Subject: Code review for {$Tickets{'TOP'}->Subject}
Depended-On-By: {$Tickets{'TOP'}->Id}
Queue: ___Approvals
Type: Approval
Content: Someone has created a ticket, you should review and approve it,
so they can finish their work
ENDOFCONTENT

In the debug below I create ticket 8 which creates approval 9.  9 is
supposed to be depended on by 8, but the link can't be created because (I
think) ticket 8 doesn't really exist yet (it's not created until *after*
the scrip).. I thought the dependency fields were delayed so as to get
aroudn this problem?  Is something broken in RT3 (3.0.3 BTW) or am I doing
something wrong?  Thanks,

   -=| Ben


[Mon Jul  7 13:16:57 2003] [warning]: Cannot Encode::Guess; fallback to
iso-8859-1 (/usr/local/rt3devel/lib/RT/I18N.pm:352)
[Mon Jul  7 13:16:57 2003] [debug]: Converting 'iso-8859-1' to 'utf-8'
(/usr/local/rt3devel/lib/RT/I18N.pm:189)
[Mon Jul  7 13:16:57 2003] [info]: <rt-3.0.3-8-34.10.4594274203132 at xxxxx>
#8/34 - Scrip 2  (/usr/local/rt3devel/lib/RT/Action/SendEmail.pm:91)
[Mon Jul  7 13:16:57 2003] [info]: <rt-3.0.3-8-34.10.4594274203132 at xxxxx>
sent To: xxxxx Cc:  Bcc: 
(/usr/local/rt3devel/lib/RT/Action/SendEmail.pm:296)
[Mon Jul  7 13:16:58 2003] [info]: <rt-3.0.3-8-34.8.55671837414022 at xxxxx>
#8/34 - Scrip 3  (/usr/local/rt3devel/lib/RT/Action/SendEmail.pm:91)
[Mon Jul  7 13:16:58 2003] [info]: <rt-3.0.3-8-34.8.55671837414022 at xxxxx>
 No recipients found. Not sending.
 (/usr/local/rt3devel/lib/RT/Action/SendEmail.pm:251)
[Mon Jul  7 13:16:58 2003] [debug]: Workflow: processing codereview of
RT::Ticket=HASH(0x9c83b78)
(/usr/local/rt3devel/lib/RT/Action/CreateTickets.pm:338)
[Mon Jul  7 13:16:58 2003] [debug]: Workflow: evaluating
Subject: Code review for {$Tickets{'TOP'}->Subject}
Depended-On-By: {$Tickets{'TOP'}->Id}
Queue: ___Approvals
Type: Approval
Content: Someone has created a ticket, you should review and approve it,
so they can finish their work
ENDOFCONTENT
 (/usr/local/rt3devel/lib/RT/Action/CreateTickets.pm:348)
[Mon Jul  7 13:16:58 2003] [debug]: Workflow: yielding
Subject: Code review for
Depended-On-By: 8
Queue: ___Approvals
Type: Approval
Content: Someone has created a ticket, you should review and approve it,
so they can finish their work
ENDOFCONTENT
 (/usr/local/rt3devel/lib/RT/Action/CreateTickets.pm:355)
[Mon Jul  7 13:16:58 2003] [info]: Ticket 9 created in queue
'___Approvals' by RT_System
(/usr/local/rt3devel/lib/RT/Ticket_Overlay.pm:608)
[Mon Jul  7 13:16:58 2003] [debug]: Assigned codereview with 9
(/usr/local/rt3devel/lib/RT/Action/CreateTickets.pm:468)
[Mon Jul  7 13:16:58 2003] [debug]: Handling links for 9
(/usr/local/rt3devel/lib/RT/Action/CreateTickets.pm:476)
[Mon Jul  7 13:16:58 2003] [debug]: Skipping DependedOnBy link for 8
(non-existent) (/usr/local/rt3devel/lib/RT/Action/CreateTickets.pm:485)
[Mon Jul  7 13:16:58 2003] [debug]: Handling postponed actions for
RT::Ticket=HASH(0x9b1ffdc)
(/usr/local/rt3devel/lib/RT/Action/CreateTickets.pm:506)
[Mon Jul  7 13:16:58 2003] [info]: Ticket 8 created in queue 'General' by
bcg2 (/usr/local/rt3devel/lib/RT/Ticket_Overlay.pm:608)




More information about the rt-users mailing list