Re: [Perl-workflow-devel] in 1.32 add_config does not work for condition
Brought to you by:
jonasbn
From: Jim B. <cb...@bu...> - 2009-04-17 11:16:31
|
Sergei, Could you add some tests to the test file you found that demonstrate this problem? It sounds like you may have already done this as part of your testing and it would be really helpful to have the tests. Thanks, Jim 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 -- Jim Brandt Administrative Computing Services University at Buffalo |