Re: [Perl-workflow-devel] in 1.32 add_config does not work for condition
Brought to you by:
jonasbn
From: Jonas B. N. <jo...@gm...> - 2009-04-17 11:37:52
|
Hi Sergei, It has not been our goal to break backwards compatibility, since we aim for stability, So if this has work earlier it sounds like we have introduced a bug. I will investigate over the weekend and get back to you. jonasbn On 17/04/2009, at 00.01, Sergei Vyshenski wrote: > Hi, > > A tiresome problem has knocked me after a move to ver. 1.32. > > Let @entry be something like > > my @entry = ({ > name => 'some name', > class => 'some class', > ... > }); > > Then a call > > $factory->add_config( persister => \@entry ); > > is similar to those used in some of the tests supplied with ver 1.32 > and > works fine. But a call > > $factory->add_config( condition => \@entry ); > > has no analog in the supplied tests and seems not working. That is no > data structures associated with condition are created. This could be > explicitly verified with use of > > print STDERR Dumper($factory)."\n"; > > after calling add_config. > > This problem was absent in ver 0.31. > > This problem prevents correct start of the OpenXPKI server (which is a > PKI related project) with default configuration files related to its > workflows. > > Do you think this could be a bug, or just a new feature? > If the latter, could you please recommend a correct way to add > configuration for a condition. > > Note that OpenXPKI uses both add_config and also add_config_from_file > (which works fine) because of historical reasons. If add_config is out > of fashion today, do you think that OpenXPKI should completely migrate > to add_config_from_file? This would be quite a job to do though. > > All the best, Sergei > > P.S. Adding config for action seems to have similar problems. And for > validator too... > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Perl-workflow-devel mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-workflow-devel |