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: open
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)



From kaynehril [...] gmail.com Wed Nov 6 12: 14:22 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.304 tagged_above=-99.9 required=10 tests=[AWL=0.029, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="089e0153859421c0eb04ea8547da"
Message-ID: <CAAism75sTRhq4_XSi0=x9mxoVqeef_zQOvK8XxP5LGhvrVyoMg [...] mail.gmail.com>
X-Received: by 10.60.58.71 with SMTP id o7mr3468162oeq.51.1383758051784; Wed, 06 Nov 2013 09:14:11 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.304
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id EDB55240935 for <cpan-bug+Workflow [...] hipster.bestpractical.com>; Wed, 6 Nov 2013 12:14:21 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QSKXF9qRVzJZ for <cpan-bug+Workflow [...] hipster.bestpractical.com>; Wed, 6 Nov 2013 12:14:20 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 7EED124024C for <bug-Workflow [...] rt.cpan.org>; Wed, 6 Nov 2013 12:14:20 -0500 (EST)
Received: (qmail 13856 invoked by alias); 6 Nov 2013 17:14:19 -0000
Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 06 Nov 2013 09:14:17 -0800
Received: by mail-ob0-f175.google.com with SMTP id va2so2551775obc.6 for <bug-Workflow [...] rt.cpan.org>; Wed, 06 Nov 2013 09:14:12 -0800 (PST)
Received: by 10.182.77.103 with HTTP; Wed, 6 Nov 2013 09:14:11 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Workflow [...] hipster.bestpractical.com
Subject: Condition Caching
Return-Path: <kaynehril [...] gmail.com>
X-RT-Mail-Extension: workflow
X-Original-To: cpan-bug+Workflow [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=AjDSkcsLTDMnhcynhqW8aFewux31kcDmG1ld8tfNJBk=; b=a/UTPzkcLZUEdHv5JtnjVPis7y3zCeSPLrKGY27aIEfo1txp2tnRgH1QGfM4OCFh77 um6pB+3r4XknE9ldWcpjuLqV+WkVvH4XRANSn+hXbMWaFWT7Eou2n2mDliVnwwZNlcXa s1i0nMqNRUPsRHY7e4Ib24Jv7x0GzzLr3OsWD4QJLJg54o12r0mTDOEjCqGi3D0N2xET 7z+FPg9ioUk5qsZsAD61G+DgFaBLFlKTsXonThIBz+Xi3fsA1YQiNCrChy6PogdTkspS yYgw6jWbSa8zR7RJg7W5B/0LCjX2FskulwAErrKEPhCsK+2jSHP8+aKm8kmxZR0L64Fa ZSVQ==
Date: Wed, 6 Nov 2013 17:14:11 +0000
X-Spam-Level:
To: bug-Workflow [...] rt.cpan.org
From: Sérgio Alves <kaynehril [...] gmail.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 435
Download (untitled) / with headers
text/plain 435b
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
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 634
MIME-Version: 1.0
In-Reply-To: <CAAism75sTRhq4_XSi0=x9mxoVqeef_zQOvK8XxP5LGhvrVyoMg [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAAism75sTRhq4_XSi0=x9mxoVqeef_zQOvK8XxP5LGhvrVyoMg [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-6016-1441565447-1369.90097-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 609
Download (untitled) / with headers
text/plain 609b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.