Commit a682709e authored by Łukasz Nowak's avatar Łukasz Nowak

- slap_software_type is Sofware Instance's source_reference, not

   reference
 - slap_partition_reference is not used at all


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43841 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6120e143
...@@ -68,8 +68,7 @@ if software_instance is not None and computer_partition is not None and software ...@@ -68,8 +68,7 @@ if software_instance is not None and computer_partition is not None and software
\'connection_xml\':software_instance.getConnectionXml(),\n \'connection_xml\':software_instance.getConnectionXml(),\n
\'slap_computer_id\':computer_partition.getParentValue().getReference(),\n \'slap_computer_id\':computer_partition.getParentValue().getReference(),\n
\'slap_computer_partition_id\':computer_partition.getReference(),\n \'slap_computer_partition_id\':computer_partition.getReference(),\n
\'slap_partition_reference\':software_instance.getReference(),\n \'slap_software_type\': software_instance.getSourceReference(),\n
\'slap_software_type\': software_instance.getTitle(),\n
\'slap_software_release_url\':software_release.getUrlString(),\n \'slap_software_release_url\':software_release.getUrlString(),\n
\'slap_server_url\':context.getPortalObject().portal_slap.absolute_url(),\n \'slap_server_url\':context.getPortalObject().portal_slap.absolute_url(),\n
\'slave_id_list\':slave_id_list, # XXX: Is it really ok to send non string in instance xml dict?\n \'slave_id_list\':slave_id_list, # XXX: Is it really ok to send non string in instance xml dict?\n
...@@ -120,8 +119,7 @@ return None\n ...@@ -120,8 +119,7 @@ return None\n
<string>software_release</string> <string>software_release</string>
<string>slave_id_list</string> <string>slave_id_list</string>
<string>ip_list</string> <string>ip_list</string>
<string>append</string> <string>$list0</string>
<string>$append0</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>slave_partition</string> <string>slave_partition</string>
<string>internet_protocol_address</string> <string>internet_protocol_address</string>
......
347 349
\ 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