FYI --
I noticed that when I launch a bad process that errors out and no
params hash is created, the method [position] wants the params hash to
be present, and the subsequent view wants a :task hash causing a
internal server error when you try and list process's
Anyway i hacked up the local gem and made the following change:
from:
def position
workitems.collect { |wi|
r = [ wi.fei.sid, wi.participant_name ]
params = wi.fields['params'].dup
params.delete('ref')
r << params
r
}
end
to:
def position
workitems.collect { |wi|
r = [ wi.fei.sid, wi.participant_name ]
if wi.fields['params']
params = wi.fields['params'].dup
params.delete('ref')
r << params
else
r << {:task=>'error'}
end
r
}
end
Thanks
Eric
--
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