Merged V4.0-BUG-FIX to HEAD

36579: Merged V4.0 to V4.0-BUG-FIX
      36578: Merged DEV to V4.0
         36562: ALF-14187 "Unknown method specified to remote store API: create" error messasge appears in log when create site from share
            The getSurfConfigNodeRef didn't return a surfConfigRef after creation


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@36580 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Dave Ward
2012-05-18 17:24:09 +00:00
parent e0503c65a3
commit d369fffbc0

View File

@@ -794,7 +794,7 @@ public class ADMRemoteStore extends BaseRemoteStore
properties.put(ContentModel.PROP_NAME, (Serializable) SURF_CONFIG);
ChildAssociationRef ref = this.unprotNodeService.createNode(
rootRef, ContentModel.ASSOC_CONTAINS, assocQName, ContentModel.TYPE_FOLDER, properties);
surfConfigRef = ref.getChildRef();
// surf-config needs to be hidden - applies index control aspect as part of the hidden aspect
hiddenAspect.hideNode(ref.getChildRef());
}