mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Fix for missing image issue spotted by Linton
. Code cleanup (syncing of code styles, tabs, missing "if (logger.isDebugEnabled())" calls…) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -122,6 +122,7 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
/** Data for virtualization server notification */
|
||||
private SandboxInfo sandboxInfo;
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
// Wizard implementation
|
||||
|
||||
@@ -212,27 +213,24 @@ public class CreateWebsiteWizard extends BaseWizardBean
|
||||
return outcome;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.web.bean.dialog.BaseDialogBean#doPostCommitProcessing(javax.faces.context.FacesContext, java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
protected String doPostCommitProcessing(FacesContext context, String outcome)
|
||||
{
|
||||
// TODO: ask about isStandalone()
|
||||
// in InviteWebsiteUsersWizard
|
||||
|
||||
if ( this.sandboxInfo != null )
|
||||
if (this.sandboxInfo != null)
|
||||
{
|
||||
String newStoreName =
|
||||
AVMConstants.buildStagingStoreName( sandboxInfo.getMainStoreName());
|
||||
|
||||
String path = AVMConstants.buildStoreWebappPath(
|
||||
newStoreName, "ROOT"
|
||||
);
|
||||
|
||||
AVMConstants.updateVServerWebapp(path, true);
|
||||
}
|
||||
return outcome;
|
||||
// update the virtualisation server with the default ROOT webapp path
|
||||
// performed after the main txn has committed successfully
|
||||
String newStoreName = AVMConstants.buildStagingStoreName(sandboxInfo.getMainStoreName());
|
||||
|
||||
String path = AVMConstants.buildStoreWebappPath(newStoreName, WEBAPP_DEFAULT);
|
||||
|
||||
AVMConstants.updateVServerWebapp(path, true);
|
||||
}
|
||||
return outcome;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Persist the forms, templates, workflows and workflow defaults to the model for this web project
|
||||
|
Reference in New Issue
Block a user