mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix to set child assoc name uri part used in ScriptNode.createNode() to content model uri to be consistent with most create operations performed in the repo/client.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1218,7 +1218,7 @@ public class ScriptNode implements Serializable, Scopeable
|
||||
|
||||
ChildAssociationRef childAssocRef = this.nodeService.createNode(
|
||||
this.nodeRef, createQName(assocName),
|
||||
QName.createQName(NamespaceService.ALFRESCO_URI, QName.createValidLocalName(name)),
|
||||
QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, QName.createValidLocalName(name)),
|
||||
createQName(type), props);
|
||||
|
||||
reset();
|
||||
|
Reference in New Issue
Block a user