Commit 121852de authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2008-11-06 Kazuhiko

* allow solve_divergence transition in calculating state (workflow method transiiton only).
* accept missing parameters in solveDivergence().

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24508 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f774c94b
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>delivery = state_change[\'object\']\n <value> <string>delivery = state_change[\'object\']\n
delivery_solve_property_dict = state_change[\'kwargs\'][\'delivery_solve_property_dict\']\n delivery_solve_property_dict = state_change[\'kwargs\'][\'delivery_solve_property_dict\'] or {}\n
divergence_to_accept_list = state_change[\'kwargs\'][\'divergence_to_accept_list\']\n divergence_to_accept_list = state_change[\'kwargs\'][\'divergence_to_accept_list\'] or []\n
divergence_to_adopt_list = state_change[\'kwargs\'][\'divergence_to_adopt_list\']\n divergence_to_adopt_list = state_change[\'kwargs\'][\'divergence_to_adopt_list\'] or []\n
\n \n
if len(delivery_solve_property_dict) or len(divergence_to_accept_list) \\\n if len(delivery_solve_property_dict) or len(divergence_to_accept_list) \\\n
or len(divergence_to_adopt_list):\n or len(divergence_to_adopt_list):\n
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<tuple> <tuple>
<string>converge</string> <string>converge</string>
<string>diverge</string> <string>diverge</string>
<string>solve_divergence</string>
<string>start_building</string> <string>start_building</string>
</tuple> </tuple>
</value> </value>
......
465 466
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment