Re: [Perl-workflow-devel] RFE / Patchset - Custom Workflow Class
Brought to you by:
jonasbn
From: Oliver W. <ma...@ol...> - 2013-05-15 16:44:17
|
Hi Jonas, I need to come back to that really old post as I made a mistake when creating the patches, so the upstream code now misses one very important change. In Workflow::Factory, Line 401 the invocation "Workflow->new" needs to be replaced with "$wf_class->new". A patchfile against 1.35 is attached. sorry for the inconvenience Oliver On 24.09.2012 08:48, Oliver Welter wrote: > Hi Jonas, > > please find attached another patch that enables users to have a custom > class for their workflow objects. It extends the create_workflow and > fetch_workflow methods by an additional parameter "wf_class". It is > fully backwards compatible, as long as one did not override the > footprint of those factory methods. > > Also attached is a one-liner that prevents some warnings during testing. > > Oliver > -- Protect your environment - close windows and adopt a penguin! PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF 8168 CAB7 B0DD 3985 1721 |