Hi John, Thanks for your quick reply.
Indeed, with super(wi) it works fine. It seems I have to learn Ruby :) Thank you very much! *Mario Camou* | *Co-Founder* [email protected] http://abstra.cc Tanto este mensaje como todos los posibles documentos adjuntos al mismo, son confidenciales y están dirigidos exclusivamente a los destinatarios de los mismos. Por favor, si Usted no es uno de dichos destinatarios, notifíquenos este hecho y elimine el mensaje de su sistema. Queda prohibida la copia, difusión o revelación de su contenido a terceros sin el previo consentimiento por escrito de “ABSTRA CC FACTORIA SOFTWARE, S.A.”. En caso contrario, vulnerará la legislación vigente. Sus datos figuran en un fichero propiedad de "ABSTRA CC FACTORIA SOFTWARE, S.A.". Si desea acceder a sus datos, rectificarlos, cancelarlos u oponerse a su tratamiento, diríjase por escrito a "ABSTRA CC FACTORIA SOFTWARE, S.A.", C/ Boix y Morer, 6, 7 planta de Madrid, CP-28003. Both this message and all possible documents attached to it, are confidential and are intended exclusively to recipients of them. Please, if you are not one of those recipients, notify us of this fact and delete the message from your system. Copying, dissemination or disclosure of their contents to third parties without the prior written consent of "ABSTRA CC FACTORIA SOFTWARE, S.A." is prohibited. Otherwise, you violate the legislation in force. Your data are contained in a file property of "ABSTRA CC FACTORIA SOFTWARE, S.A.". If you want to access your data, rectify them, cancel them or oppose its processing, submit in writing to "ABSTRA CC FACTORIA SOFTWARE, S.A.", C/ Boix y Morer, 6, 7 floor Madrid, CP-28003. On Mon, Nov 12, 2012 at 11:55 PM, John Mettraux <[email protected]> wrote: > > On Mon, Nov 12, 2012 at 11:44:16PM +0100, Mario Camou wrote: > > > > So, I was missing a super call at the end of consume (we're still running > > Ruote 2.2). I am extending StorageParticipant. > > > > I can now see the workitem in the console and the query finds it. > However, > > the stored workitem doesn't contain some fields I set in consume. My > > consume method does something like: > > > > def consume(wi) > > wi.fields['bm_type'] = wi.params['model'] > > super > > end > > > > However, looking at the workitem in the Ruote console doesn't contain the > > bm_type field. > > Hello Mario, > > that's strange. > > What happens if you do > > def consume(wi) > wi.fields['bm_type'] = wi.params['model'] > super(wi) > end > > ? > > -- > John Mettraux - http://lambda.io/jmettraux > > -- > 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 > -- 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
