hi all,

i've just installed a fresh copy of ruote-rest and i have found an
issue. these are the steps i took:

1. launch ruote-rest
2. launch the default process
3. check workitems and select one
4. add new keys to attributes and hit PUT in order to just update the
payload (no "proceed" selected)
5. the following error shows in the browser:

undefined method `href' for nil:NilClass
/ruote-rest-check/lib/patching.rb:178:in `href'
/ruote-rest-check/lib/res/workitems.rb:66:in `call'
/ruote-rest-check/vendor/rufus-sixjo/lib/rufus/sixjo.rb:267:in `service'
/ruote-rest-check/vendor/rufus-sixjo/lib/rufus/sixjo.rb:265:in `catch'
/ruote-rest-check/vendor/rufus-sixjo/lib/rufus/sixjo.rb:265:in `service'
/ruote-rest-check/vendor/rufus-sixjo/lib/rufus/sixjo.rb:125:in `call'
/ruote-rest-check/lib/auth.rb:42:in `call'
/ruote-rest-check/lib/auth.rb:48:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/showexceptions.rb:24:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/commonlogger.rb:20:in `_call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/commonlogger.rb:13:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/builder.rb:60:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/content_length.rb:13:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/chunked.rb:15:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:in `process'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:in `run'
lib/start.rb:104

additional notes:

1. if "proceed" is checked, everything works fine. the payload gets
updated and passed to the following participant(s).
2. i tried updating and commiting the workitem from a REST client
using XML format and everything worked fine.

Then, it seems that doing PUT (no proceed checked) on a workitem from
a web browser fails. Is anyone having the same issue?

Thanks for your info.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to