[rt-users] Do approval notification emails work in RT 4.0.1?

2011-09-20 Thread Todd Chapman
I set up a CreateTickets scrip per the normal methods. The approval ticket gets created and linked properly to the original ticket, but new NewPending approval rule runs before the CreateTicket::PostProcess calls AddLinks, thus NewPending::Prepare returns false. Is this working for anyone else?

Re: [rt-users] Do approval notification emails work in RT 4.0.1?

2011-09-20 Thread Kevin Falcone
On Tue, Sep 20, 2011 at 03:25:20PM -0400, Todd Chapman wrote: I set up a CreateTickets scrip per the normal methods. The approval ticket gets created and linked properly to the original ticket, but new NewPending approval rule runs before the CreateTicket::PostProcess calls AddLinks, thus

Re: [rt-users] Do approval notification emails work in RT 4.0.1?

2011-09-20 Thread Todd Chapman
No. :( For future reference how do you run just one unit test? On Tue, Sep 20, 2011 at 4:05 PM, Kevin Falcone falc...@bestpractical.comwrote: On Tue, Sep 20, 2011 at 03:25:20PM -0400, Todd Chapman wrote: I set up a CreateTickets scrip per the normal methods. The approval ticket gets

Re: [rt-users] Do approval notification emails work in RT 4.0.1?

2011-09-20 Thread Todd Chapman
Kevin, Do you have any idea what might be wrong? How can NewPending::Prepare even be successful if links are added silently after tickets are created in CreateTickets ? On Tue, Sep 20, 2011 at 4:05 PM, Kevin Falcone falc...@bestpractical.comwrote: On Tue, Sep 20, 2011 at 03:25:20PM -0400,

Re: [rt-users] Do approval notification emails work in RT 4.0.1?

2011-09-20 Thread Todd Chapman
I found the problem. Someone had created a scrip that auto-opened all new tickets. RT/Approval/Rule/NewPending has two conditions: $self-OnStatusChange('open') and eval { $T::Approving = ($self-TicketObj-AllDependedOnBy( Type = 'ticket' ))[0] } Since both were never true at the same time