[Bps-public-commit] RTx-WorkflowBuilder branch, master, updated. e99a4ec4072ce9f5509a24207ea547bfd2d4a5a7

Kevin Falcone falcone at bestpractical.com
Fri Sep 23 18:55:26 EDT 2011


The branch, master has been updated
       via  e99a4ec4072ce9f5509a24207ea547bfd2d4a5a7 (commit)
      from  1a1f2a4daf8d2172cf9990f2240e78d55dfca6b9 (commit)

Summary of changes:
 lib/RTx/WorkflowBuilder.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit e99a4ec4072ce9f5509a24207ea547bfd2d4a5a7
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Sep 23 18:55:05 2011 -0400

    Requestors returns a group
    
    You actually want email addresses if you expect this to clone the
    requestors.

diff --git a/lib/RTx/WorkflowBuilder.pm b/lib/RTx/WorkflowBuilder.pm
index eca8473..5022f6b 100644
--- a/lib/RTx/WorkflowBuilder.pm
+++ b/lib/RTx/WorkflowBuilder.pm
@@ -60,7 +60,7 @@ sub compile_template {
     my $attributes = { Queue => '___Approvals',
                        Type => 'approval',
                        Owner => $self->owner,
-                       Requestors => '{$Approving->Requestors}',
+                       Requestors => '{$Approving->RequestorAddresses}',
                        Subject => $self->subject || 'Approval for ticket {$Approving->Id}: {$Approving->Subject}',
                        'Refers-To' => 'TOP',
                        Due => '{time + 86400}', # XXX: configurable

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list