Commit 0480ee9e authored by Fabien Morin's avatar Fabien Morin

set a default value to form_id. In zope2.12 it is not possible to have a...

set a default value to form_id. In zope2.12 it is not possible to have a parameter without default value following a parameter with one.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39701 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c67441a7
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -77,7 +74,7 @@ context.Base_createCloneDocument(web_mode=1, \n ...@@ -77,7 +74,7 @@ context.Base_createCloneDocument(web_mode=1, \n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>clone=1, form_id, editable_mode=0</string> </value> <value> <string>clone=1, form_id=\'view\', editable_mode=0</string> </value>
</item> </item>
<item> <item>
<key> <string>_proxy_roles</string> </key> <key> <string>_proxy_roles</string> </key>
...@@ -129,7 +126,7 @@ context.Base_createCloneDocument(web_mode=1, \n ...@@ -129,7 +126,7 @@ context.Base_createCloneDocument(web_mode=1, \n
<value> <value>
<tuple> <tuple>
<int>1</int> <int>1</int>
<none/> <string>view</string>
<int>0</int> <int>0</int>
</tuple> </tuple>
</value> </value>
......
994 995
\ 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