I John,
I've just tried test [1] above and it works fine. The HTML view
renders perfectly and XML output has the correct links to /expression
resources.
Then I tested this simple workflow:
class Test0 < OpenWFE::ProcessDefinition
sequence :on_cancel => "foxtrot" do
alpha
bravo
end
process_definition :name => "foxtrot" do
delta
end
end
Once created, I can GET /processes/{wfid} and its expressions with no
problems. After that, I DELETE /processes/{wfid} and that makes ruote
call the "foxtrot" process definition. As expected, doing GET /
workitems shows that there is a workitem asigned to "delta"
participant which url points to a resource like this: workitems/{wfid}
_0/0_0
Requesting /expressions/{wfid} works fine too. In this particular
workflow there should be 3 expressions. Here is a short output:
GET /expressions/20091020-goguputzuri_0/0_0
class : OpenWFE::ParticipantExpression
name : delta
GET /expressions/20091020-goguputzuri_0/0e
class : OpenWFE::Environment
name : environment
GET /expressions/20091020-goguputzuri_0/0
class : OpenWFE::DefineExpression
name : process-definition
But now, whenever I try to do a GET /processes/{wfid}, the error
reported above shows up:
> Then I do a GET on that
> process (GET processes/20091019-godepoyoyu) and shows up the following
> error:
> undefined method `each' for nil:NilClass
> (erb):27:in `get_binding'
I hope this can help you recreate this issue.
Thanks a lot for your help.
Best regards,
Gonzalo.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---