[Perl-workflow-devel] Bug found in Workflow::Action::init
Brought to you by:
jonasbn
|
From: Alejandro I. <ai...@p2...> - 2009-09-20 15:07:47
|
I can almost confirm there is a bug in Workflow::Action::init
Workflow::Action::init currently reads:
sub init {
my ( $self, $wf, $params ) = @_;
When in fact, I think it should read:
sub init {
my ( $self, $params ) = @_;
Just like the init() in Condition, State, Validator and so on.
In fact Base::new() calls $self->init(@params); sow where the heck is
$wf supposed to come from?
If all this is true, then it's a fact that the Action accessors are
currently broken and $self->param() of Action is being clobbered by
the wrong object properties.
Can _anyone_ , _please_, _pretty pleae_ confirm this?
I have sent 3 mails regarding this issue and it's hard to believe I'm
the only one that has problems using the Action accessors!!!
Thanks,
Alejandro Imass
|