Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Workflow CPAN distribution.

Report information
The Basics
Id: 14413
Status: resolved
Priority: 0/
Queue: Workflow

People
Owner: Nobody in particular
Requestors: pompei [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.15
Fixed in: 0.16



Subject: Workflow.pm
Workflow-0.15 See line 300 in file Workflow.pm, the line is: my $action_name = $wf_state->get_autorun_action_name; Is to be: my $action_name = $wf_state->get_autorun_action_name ($self); Fix it, please.
From: jonasbn [...] cpan.org
Now that I have taken all this effort to import Workflow into CVS in order to produce a proper patch I might aswell produce a patch for this here bug. All tests still pass... jonasbn
Index: Workflow.pm =================================================================== RCS file: /cvs/patches/Workflow-0.15/lib/Workflow.pm,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Workflow.pm --- Workflow.pm 8 Nov 2005 11:50:16 -0000 1.1.1.1 +++ Workflow.pm 8 Nov 2005 12:19:56 -0000 @@ -297,7 +297,7 @@ sub _auto_execute_state { my ( $self, $wf_state ) = @_; $log ||= get_logger(); - my $action_name = $wf_state->get_autorun_action_name; + my $action_name = $wf_state->get_autorun_action_name($self); $log->is_debug && $log->debug( "Found action '$action_name' to execute in ", "autorun state ", $wf_state->state );