From 2d03065f49ef61b20e62b74fca4e20516625efa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Fri, 21 Jan 2011 09:49:03 +0000 Subject: [PATCH] - get and set new software instance's coordinates during creation git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42554 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../scripts/Person_requestSoftwareInstance.xml | 4 +++- bt5/vifib_slap/bt/revision | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml b/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml index 62057c7013..8d3bb169a2 100644 --- a/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml +++ b/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/person_slap_interface_workflow/scripts/Person_requestSoftwareInstance.xml @@ -88,13 +88,14 @@ if (request_software_instance is None):\n else:\n \n setup_service_relative_url = portal.portal_preferences.getPreferredInstanceSetupResource()\n -\n + \n software_instance = portal.getDefaultModule(portal_type=software_instance_portal_type).newContent(\n portal_type=software_instance_portal_type,\n source_reference=software_type,\n title=requested_partition_reference,\n text_content=instance_xml,\n activate_kw={\'tag\': tag},\n + **portal.Base_getNewSoftwareInstanceCoordinate()\n )\n \n subscription = portal.getDefaultModule(portal_type=hosting_subscription_portal_type).newContent(\n @@ -231,6 +232,7 @@ else:\n <string>None</string> <string>NotImplementedError</string> <string>setup_service_relative_url</string> + <string>_apply_</string> <string>software_instance</string> <string>subscription</string> <string>context</string> diff --git a/bt5/vifib_slap/bt/revision b/bt5/vifib_slap/bt/revision index 815f89dbff..f9c94c8318 100644 --- a/bt5/vifib_slap/bt/revision +++ b/bt5/vifib_slap/bt/revision @@ -1 +1 @@ -311 \ No newline at end of file +325 \ No newline at end of file -- 2.30.9