mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MOB-687 - WCM Deployment - Select multiple test servers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14337 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
package org.alfresco.web.bean.wcm;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
import java.util.List;
|
||||
|
||||
import javax.faces.context.FacesContext;
|
||||
|
||||
@@ -96,8 +97,8 @@ public class DeleteSandboxDialog extends BaseDialogBean
|
||||
String mainStore = AVMUtil.buildUserMainStoreName(wpStoreId, username);
|
||||
|
||||
// if the sandbox is allocated to a test server release it
|
||||
NodeRef testServer = DeploymentUtil.findAllocatedTestServer(mainStore);
|
||||
if (testServer != null)
|
||||
List<NodeRef> testServers = DeploymentUtil.findAllocatedTestServers(mainStore);
|
||||
for(NodeRef testServer : testServers)
|
||||
{
|
||||
getNodeService().setProperty(testServer, WCMAppModel.PROP_DEPLOYSERVERALLOCATEDTO, null);
|
||||
|
||||
|
Reference in New Issue
Block a user