From 132fdb81cbd50ff34e9a4e52f24701d1ba4402a8 Mon Sep 17 00:00:00 2001 From: Neil McErlean Date: Mon, 6 Apr 2009 12:51:20 +0000 Subject: [PATCH] Minor change in creation of child assoc. qname now matches assocTypeQName git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../java/org/alfresco/repo/forms/processor/NodeHandler.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/repo/forms/processor/NodeHandler.java b/source/java/org/alfresco/repo/forms/processor/NodeHandler.java index 71a971644b..55c9ff2737 100644 --- a/source/java/org/alfresco/repo/forms/processor/NodeHandler.java +++ b/source/java/org/alfresco/repo/forms/processor/NodeHandler.java @@ -1133,8 +1133,9 @@ class AddChildAssocCommand extends AbstractAssocCommand return; } } - //TODO What value should we put in this final qname parameter? - nodeService.addChild(sourceNodeRef, targetNodeRef, assocQName, QName.createQName("child")); + // We are following the behaviour of the JSF client here in using the same + // QName value for the 3rd and 4th parameters in the below call. + nodeService.addChild(sourceNodeRef, targetNodeRef, assocQName, assocQName); } }