On Wed, Mar 23, 2011 at 04:28:56PM -0700, Eric wrote:
>
> 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.

Hello Eric,

thanks for feedback. I changed ruote-sequel to align it to ruote-dm :

  
https://github.com/jmettraux/ruote-sequel/commit/3c0d316d547f2c01162e05681d62b10fbf5f1cb6

Not really sure how this can happen

  
https://github.com/jmettraux/ruote-sequel/blob/3c0d316d547f2c01162e05681d62b10fbf5f1cb6/lib/ruote/sequel/storage.rb#L49
  
https://github.com/jmettraux/ruote-sequel/blob/3c0d316d547f2c01162e05681d62b10fbf5f1cb6/lib/ruote/sequel/storage.rb#L311-313

Maybe you guys will find what I'm doing wrong.

> 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.

Is that this :

  
https://github.com/tosch/ruote-kit/commit/3b46f3c9a0ef7cd5c50d241f5edf292aa0e221cd

?

Please tell me if you have any other patch I should consider.


Many thanks,

-- 
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

Reply via email to