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:
Kevin Roast
2007-06-15 16:42:39 +00:00
parent 299b4d3434
commit 236033e28e

View File

@@ -1218,7 +1218,7 @@ public class ScriptNode implements Serializable, Scopeable
ChildAssociationRef childAssocRef = this.nodeService.createNode( ChildAssociationRef childAssocRef = this.nodeService.createNode(
this.nodeRef, createQName(assocName), 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); createQName(type), props);
reset(); reset();