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: 90097
Status: resolved
Priority: 0/
Queue: Workflow

People
Owner: jonasbn [...] cpan.org
Requestors: kaynehril [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Condition Caching
Date: Wed, 6 Nov 2013 17:14:11 +0000
To: bug-Workflow [...] rt.cpan.org
From: Sérgio Alves <kaynehril [...] gmail.com>
Greetings, Could you possibly add in a near future, a configuration variable that allows one to decide if the workflow engine should or should not cache the result of conditions? The change would be made at Workflow::State::evaluate_action() line 119 where: if ( exists $self->{'_condition_result_cache'}->{$orig_condition} ) { could be forced to false if that configuration variable was on. Thank you once again, Sérgio Alves
On Wed Nov 06 12:14:23 2013, kaynehril@gmail.com wrote: Show quoted text
> Greetings, > > > Could you possibly add in a near future, a configuration variable that > allows one to decide if the workflow engine should or should not cache the > result of conditions? > > The change would be made at Workflow::State::evaluate_action() line 119 > where: > > if ( exists $self->{'_condition_result_cache'}->{$orig_condition} ) { > > could be forced to false if that configuration variable was on. > > > Thank you once again, > Sérgio Alves
Migrated to Github, see: https://github.com/jonasbn/perl-workflow/issues/5 jonasbn