Hi all,

It seems that ruote-rest fails when building the JSON response when
POSTing /processes. Here's how to reproduce the error:

1. Start ruote-rest

2. Launch process 'public/process_definitions/sequence0.rb':

    ~$ curl -i -X POST -H "Accept: application/json" -H "Content-Type:
application/xml" http://localhost:4567/processes --data-binary
"<process><definition_url>public/process_definitions/sequence0.rb</
definition_url></process>"

The response renders as:

HTTP/1.1 500 Internal Server Error
Connection: close
Date: Fri, 28 Aug 2009 22:22:02 GMT
Content-type: text/plain
Location: http://localhost:4567/processes/20090828-monipegiso
Content-Length: 2133

undefined method `render_fei_json' for #<Rufus::Sixjo::Context:
0x2358318>
/Users/gonzalo/Stuff/Ruby/ruote-rest/lib/inout.rb:75:in `send'
/Users/gonzalo/Stuff/Ruby/ruote-rest/lib/inout.rb:75:in `rrender'
[...]


But the process is launched correctly.

Best regards 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to