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