Commit 1f04bae9 authored by Jérome Perrin's avatar Jérome Perrin

'node' is not longer needed, and this way it will not fail if no source is defined on context

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27222 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c599f0d0
...@@ -58,10 +58,8 @@ from Products.ERP5Type.Utils import cartesianProduct\n ...@@ -58,10 +58,8 @@ from Products.ERP5Type.Utils import cartesianProduct\n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
request = portal.REQUEST\n request = portal.REQUEST\n
\n \n
node = context.getSourceValue()\n
\n
tracking_parameters = {\n tracking_parameters = {\n
\'node_uid\': node.getUid(),\n \'node_uid\': context.getSourceUid(),\n
\'resource_uid\': context.getResourceUid(),\n \'resource_uid\': context.getResourceUid(),\n
\'output\': 1,\n \'output\': 1,\n
\n \n
...@@ -137,7 +135,6 @@ return result_list\n ...@@ -137,7 +135,6 @@ return result_list\n
<string>context</string> <string>context</string>
<string>portal</string> <string>portal</string>
<string>request</string> <string>request</string>
<string>node</string>
<string>tracking_parameters</string> <string>tracking_parameters</string>
<string>bool</string> <string>bool</string>
<string>check_variation</string> <string>check_variation</string>
......
136 137
\ 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