Reverted back to this morning's code - changes are too hacky and nasty

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-08-30 18:07:17 +00:00
parent ef70fb04bf
commit 25fdf04983
2 changed files with 5 additions and 5 deletions

View File

@@ -383,12 +383,12 @@ public class HibernateNodeDaoServiceImpl extends HibernateDaoSupport implements
* if the association is recreated subsequently.
*/
String tempUuid = GUID.generate();
String uuid = childNode.getUuid();
ChildAssoc assoc = new ChildAssocImpl();
assoc.setTypeQName(assocTypeQName);
assoc.setChildNodeName(getShortName(tempUuid));
assoc.setChildNodeNameCrc(getCrc(tempUuid));
assoc.setChildNodeName(getShortName(uuid));
assoc.setChildNodeNameCrc(getCrc(uuid));
assoc.setQname(qname);
assoc.setIsPrimary(isPrimary);
assoc.buildAssociation(parentNode, childNode);
@@ -424,7 +424,7 @@ public class HibernateNodeDaoServiceImpl extends HibernateDaoSupport implements
String childNameNew = null;
if (childName == null)
{
childNameNew = childAssoc.getId().toString();
childNameNew = childAssoc.getChild().getUuid();
}
else
{