On May 15, 6:28 pm, choda <[email protected]> wrote:
> On May 15, 4:29 pm, John Mettraux <[email protected]> wrote:
>
> > Hi Marc,
>
> Hello John
>
> > thanks for your remarks about the documentation. Any help/feedback is
> > welcome.
>
> Let me correct what I said, because of course, just after my first
> post,
> I went back to the documentation and found out that they're actually
> is
> an example of how to use a worklist... it's in the mano_tracker.rb
> example,
> but at first glance I didn't realize that a "store" is a synonym for
> "worklist".
>
> Be sure I'll be glad to help I have the chance in the future (until
> you get bored
> of my remarks :) )

Hi again.

Talking about feedback, I've been looking into the the mano_tracker.rb
I mentionned as it is given as an example for using a YamlParticipant.

Seeing the date of its last modification, the script is a bit
outdated, and needs a few minors corrections (but nothing serious)
before it can be run properly.
After this few corrections, it works fine if you use the
HashParticipant registration that is commented out instead the
YamlParticipant registration.

But if you try with the YamlParticipant, you get the following error:

"mano_tracker.rb:154: undefined method `each' for
#<OpenWFE::YamlParticipant:...> (NoMethodError)"

Indeed 'each' is no part of this participant public instance, but I've
given a look at 
http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/YamlParticipant.html,
its parent class 
http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/YamlFileStorage.html
(DEPRECATED), 
http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/StoreParticipantMixin.html
(since I assume its relevant)

The latter clearly indicates that the it store participant is supposed
to behave similarly to a hash, and so provide an 'each' method.

I could go into details (I've looked at the other available methods,
but none seems to quickly give the expected result), but let's make it
simple and blunt: is the example or some part of the documentation
completely deprecated ?
I think it might be useful to correct it since it's pointed out as an
example (and probably shouldn't take long...)


Regards

Marc

P.S : I'm currently looking into the solutions you both mentionned and
will hopefully give some feedback soon, though the AMQP stuff looks
really promising...
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to