> sub Load {
>       ...
>       #If we're merged, resolve the merge.
>      if ( ( $self->EffectiveId ) and ( $self->EffectiveId != $self- 
>  >Id ) ) {
>          $RT::Logger->debug ("We found a merged ticket.". $self- 
>  >id ."/".$self->EffectiveId);
>          return ( $self->Load( $self->EffectiveId ) );
>      }
>      ...
> }
> - --
> 
> In my opinion $self->Load( $self->EffectiveId ) causes an infinite  
> loop when there are tickets merged into the current one. 

How is that an infinite loop?  It's recursion, yes. But I don't believe
it's infinite
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to