Commit 41070e8f authored by Jérome Perrin's avatar Jérome Perrin

don't fail if we don't have any destinations

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19357 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 52f85829
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<string>Products.ERP5Form.ProxyField</string> <tuple/>
<string>ProxyField</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -132,18 +129,15 @@ ...@@ -132,18 +129,15 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:" / ".join(cell.getDestinationTitleList())</string> </value> <value> <string>python:" / ".join(cell.getDestinationTitleList() or [])</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
155 156
\ 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