Fix bulk request approval
commitbc33053e77b4b84336253514e6e4337ec2f75b18
authoralech <alech@95d9436f-6502-0410-902c-bd9569d1a17e>
Mon, 9 Feb 2009 12:17:54 +0000 (9 12:17 +0000)
committeralech <alech@95d9436f-6502-0410-902c-bd9569d1a17e>
Mon, 9 Feb 2009 12:17:54 +0000 (9 12:17 +0000)
treec05d9e1a6ea7a5f0b0ae7ee3bd31674593dad2c9
parentc19e553d4cd0e52dec9ce14aa027e8d998139d0c
Fix bulk request approval

We had a bug, where if a number of requests where approved from the same
process (for example when using bulk approval), all CSR workflows except
for the last one would be stuck in state 'WAITING_FOR_CHILD' rather than
being notified of its childs success. The problem was that we had a
global list of running processes, not one per parent workflow. Also, the
condition cache was preventing the activity to be executed because the
result was accidentally cached. Both problems have been fixed.

git-svn-id: https://openxpki.svn.sourceforge.net/svnroot/openxpki@1407 95d9436f-6502-0410-902c-bd9569d1a17e
trunk/perl-modules/core/trunk/OpenXPKI/Server/API/Workflow.pm
trunk/perl-modules/core/trunk/OpenXPKI/Server/Workflow/Activity/Tools/ForkWorkflowInstance.pm
trunk/perl-modules/core/trunk/OpenXPKI/Server/Workflow/Activity/Tools/NotifyParentWorkflow.pm
trunk/perl-modules/core/trunk/OpenXPKI/Server/Workflow/Condition/CheckForkedWorkflowChildren.pm