John, We upgraded to the latest version of ruote, ruote::sequel, and ruote- kit, and it resolved the issue. It looks like two workitems were getting created for the same expression (I am still not sure why). When reply ( now proceed :)) tried to clean them up, the storage responded with true because the number of deleted records was 2 not 1.
Is it valid for there to be two identical workitems? If not we will keep debugging to see if we can isolate why we have the duplication. Also there is one line in ruote-kit that has to change to allow the new "proceed" method to work with the latest version of ruote. We forked ruote-kit and made that change (and a couple of others which are not fit for the standard gem). Let us know if there is anything we can do to help and thanks for gem updates. Eric On Mar 23, 2:36 pm, John Mettraux <[email protected]> wrote: > On Mon, Mar 21, 2011 at 06:54:28PM +0900, John Mettraux wrote: > > On Fri, Mar 18, 2011 at 02:13:56PM -0700, Iuri G. wrote: > > > > Also, I am still interested in whether reply and reply_to_engine are > > > same things? > > > Ruote::StorageParticipant#reply != Ruote::LocalParticipant#reply > > > The first one makes sure to remove the workitem from the storage before > > replying to the engine > > >https://github.com/jmettraux/ruote/blob/9e960f1a8b9ede4233d3e7c2efc2c... > > Hello, > > to avoid further confusion between Ruote::StorageParticipant#reply and > LocalParticipant#reply, I renamed the former one #proceed > > https://github.com/jmettraux/ruote/commit/440dc90d4b88ee8ba4de5340b5c... > > #reply is deprecated for now, it should be removed soon. > > Best regards, > > -- > John Mettraux -http://jmettraux.wordpress.com -- 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
