Re: [Perl-workflow-devel] Cached condition bugfix
Brought to you by:
jonasbn
From: Jonas B. N. <jo...@gm...> - 2007-06-28 20:07:51
|
Hi Alex, Can you please describe the patch in the Changes file. Then I will make a release over the weekend. Marvellous work with the tests btw. our test coverage is at: 72.5 % jonasbn On 28/06/2007, at 16.26, Alexander Klink wrote: > Hi Jonas, > Hi all, > > I've just checked in a bugfix for the cached condition handling. > In OpenXPKI, under mysterious circumstances, we ran into a race > condition where a workflow checked the state of its forked child > and the result of the checking condition and its inverse (using the > '!'-syntax) where either both true or both false sometimes. > This is the same race that was to be prevented by implementing the > '!'-syntax in the first place. Apparently, my fix that cleared > the condition cache so that circular workflows would not run forever > reintroduced the race again :-( > The fix now resets the condition cache on state changes and when > get_available_action_names() is called and introduces corresponding > tests. > Jonas: a quick maintenance release incorporating the patch would be > highly appreciated ... > > Best regards, > Alex > > P.S.: Sorry to hear about EBADCONTRACT :-( > -- > Dipl.-Math. Alexander Klink | IT-Security Engineer > ak-...@cy... | working @ urn:oid:1.3.6.1.4.1.11417 > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Perl-workflow-devel mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-workflow-devel |