Hi all,
I know the restful way to go with ruote now is ruote-kit but since we
have some stuff developed on top of ruote-rest I would like to report
this issue and see if there is a easy fix for it.
Environment: ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10],
ruote-rest 0.9.21
I launch the following process:
--8--
class Test0 < OpenWFE::ProcessDefinition
sequence do
forget do
participant :ref => "bravo"
end
participant :ref => "alpha"
end
end
--8--
I proceed participant alpha. The only workitem that exists now is
bravo, which is inside a expression :forget. Then I would like to
check the process, and maybe cancel it. I hit /processes and it shows
only one process. Well. But when I select the process listed I come up
with the following error:
undefined method `each' for nil:NilClass
(erb):27:in `get_binding'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/vendor/rufus-sixjo/
lib/rufus/sixjo.rb:212:in `get_binding'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/vendor/rufus-sixjo/
lib/rufus/sixjo.rb:225:in `erb'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/lib/helpers/
application.rb:42:in `_erb'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/lib/rep/processes.rb:
61:in `render_process_html'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/lib/inout.rb:75:in
`send'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/lib/inout.rb:75:in
`rrender'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/lib/res/processes.rb:
108:in `call'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/vendor/rufus-sixjo/
lib/rufus/sixjo.rb:267:in `service'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/vendor/rufus-sixjo/
lib/rufus/sixjo.rb:265:in `catch'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/vendor/rufus-sixjo/
lib/rufus/sixjo.rb:265:in `service'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/vendor/rufus-sixjo/
lib/rufus/sixjo.rb:125:in `call'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/lib/auth.rb:42:in
`call'
/Users/gonzalo/Stuff/Programming/Ruby/ruote-rest/lib/auth.rb:48:in
`call'
/opt/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/
showexceptions.rb:24:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/commonlogger.rb:
18:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:77:in
`call'
/opt/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/
content_length.rb:13:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/chunked.rb:15:in
`call'
/opt/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/
mongrel.rb:67:in `process'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`each'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`new'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`run'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`new'
/opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`run'
/opt/local/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/
mongrel.rb:38:in `run'
lib/start.rb:105
I tried the same steps in ruote-kit with no problem at all. I wonder
if there is a easy/quick fix for this.
Thanks for your help.
Happy New Year to all.
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