Commit da3292dd authored by Jérome Perrin's avatar Jérome Perrin

generate URLs with /view and explicitly pass local_roles=, variable...

generate URLs with /view and explicitly pass local_roles=, variable substitution does not seem to work

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4b8de2e3
......@@ -27,7 +27,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
person_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
person_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
......@@ -63,11 +63,8 @@ person_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -87,17 +84,14 @@ person_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......
......@@ -27,7 +27,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
organisation_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
organisation_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
......@@ -57,11 +57,8 @@ organisation_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -81,17 +78,14 @@ organisation_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......
......@@ -27,7 +27,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
purchase_trade_condition_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
purchase_trade_condition_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
......
......@@ -27,7 +27,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
product_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
product_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
......
......@@ -27,7 +27,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
service_module?validation_state=draft&local_roles=%(local_roles)s&reset=1
service_module/view?validation_state=draft&local_roles:list=Assignee&local_roles:list=Assignor&reset=1
]]></string> </value>
</item>
......
747
\ No newline at end of file
748
\ 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