<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,7 @@
 
 == ruote-rest - 0.9.21    not yet released
 
+- issue    : with on_cancel and get /processes. Thanks Gonzalo
 - issue    : render_fei_json missing (Thanks Gonzalo)
 - issue #5 : expressions/workitems in subprocesses not visible. (Thanks Patrick)
 - issue #4 : unlocked full range of db params for activerecord (Thanks Nando)</diff>
      <filename>CHANGELOG.txt</filename>
    </modified>
    <modified>
      <diff>@@ -71,5 +71,36 @@ class FtSubprocessesTest &lt; Test::Unit::TestCase
     get &quot;/processes/#{fei.wfid}&quot;, nil, { 'HTTP_ACCEPT' =&gt; 'text/html' }
     assert_not_nil @response.body.match(&quot;GET /expressions/#{fei.wfid}_0/0_0&quot;)
   end
+
+  def test_subprocess_on_cancel
+
+    li = OpenWFE::LaunchItem.new %{
+      OpenWFE.process_definition :name =&gt; 'test' do
+        sequence :on_cancel =&gt; 'foxtrott' do
+          alpha
+        end
+        process_definition :name =&gt; 'foxtrott' do
+          delta
+        end
+      end
+    }
+
+    post(
+      &quot;/processes&quot;,
+      OpenWFE::Xml.launchitem_to_xml(li),
+      { &quot;CONTENT_TYPE&quot; =&gt; &quot;application/xml&quot; })
+
+    fei = OpenWFE::Xml.fei_from_xml(@response.body)
+
+    sleep 0.350
+
+    delete &quot;/processes/#{fei.wfid}&quot;
+
+    sleep 0.350
+
+    get &quot;/processes/#{fei.wfid}&quot;
+    #puts @response.body
+    assert_not_nil @response.body.match(&quot;\&quot;/expressions/#{fei.wfid}_0/0\&quot;&quot;)
+  end
 end
 </diff>
      <filename>test/ft_subprocesses.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b9888dc0b8f2c30292704de67514edb0a2501813</id>
    </parent>
  </parents>
  <author>
    <name>John Mettraux</name>
    <email>jmettraux@gmail.com</email>
  </author>
  <url>http://github.com/jmettraux/ruote-rest/commit/1a56bd3fb72150f14e2f3fef6c90a306217bca0b</url>
  <id>1a56bd3fb72150f14e2f3fef6c90a306217bca0b</id>
  <committed-date>2009-11-02T21:55:41-08:00</committed-date>
  <authored-date>2009-11-02T21:55:41-08:00</authored-date>
  <message>issue with on_cancel and get /processes. Thanks Gonzalo</message>
  <tree>d56ec76162bed4887ce3d818e4ec9dc419b411d1</tree>
  <committer>
    <name>John Mettraux</name>
    <email>jmettraux@gmail.com</email>
  </committer>
</commit>
