mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Remove user homes patch - find in the UI or fall back to company home.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4989 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -851,7 +851,7 @@ public class NewUserWizard extends AbstractWizardBean
|
||||
|
||||
private NodeRef getDefaultHomeSpace()
|
||||
{
|
||||
if (this.defaultHomeSpaceRef == null)
|
||||
if ((this.defaultHomeSpaceRef == null) || !nodeService.exists(this.defaultHomeSpaceRef))
|
||||
{
|
||||
String defaultHomeSpacePath = Application.getClientConfig(FacesContext.getCurrentInstance()).getDefaultHomeSpacePath();
|
||||
|
||||
@@ -861,7 +861,7 @@ public class NewUserWizard extends AbstractWizardBean
|
||||
|
||||
if (nodes.size() == 0)
|
||||
{
|
||||
throw new IllegalStateException("Unable to find company home space path: " + defaultHomeSpacePath);
|
||||
return getCompanyHomeSpace();
|
||||
}
|
||||
|
||||
this.defaultHomeSpaceRef = nodes.get(0);
|
||||
|
Reference in New Issue
Block a user