mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix type assoc type for top level groups
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
dynamic-insert="false"
|
||||
select-before-update="false"
|
||||
optimistic-lock="version" >
|
||||
<id column="id" length="32" name="id" type="string" />
|
||||
<id column="id" length="64" name="id" type="string" />
|
||||
<property name="description" column="description" type="string" length="1024" />
|
||||
<property name="fixesFromSchema" column="fixes_from_schema" type="integer" />
|
||||
<property name="fixesToSchema" column="fixes_to_schema" type="integer" />
|
||||
|
@@ -286,14 +286,8 @@ public class IntegrityChecker
|
||||
childAssocRef.getChildRef());
|
||||
save(event);
|
||||
|
||||
// check target role
|
||||
event = new AssocTargetRoleIntegrityEvent(
|
||||
nodeService,
|
||||
dictionaryService,
|
||||
childAssocRef.getParentRef(),
|
||||
childAssocRef.getTypeQName(),
|
||||
childAssocRef.getQName());
|
||||
save(event);
|
||||
onCreateChildAssociation(childAssocRef);
|
||||
|
||||
|
||||
// check for associations defined on the new node (child)
|
||||
NodeRef childRef = childAssocRef.getChildRef();
|
||||
|
@@ -47,7 +47,7 @@ import org.alfresco.util.ISO9075;
|
||||
|
||||
public class AuthorityDAOImpl implements AuthorityDAO
|
||||
{
|
||||
private static final StoreRef STOREREF_USERS = new StoreRef("user", "alfrescoUserStore");
|
||||
public static final StoreRef STOREREF_USERS = new StoreRef("user", "alfrescoUserStore");
|
||||
|
||||
private NodeService nodeService;
|
||||
private NamespacePrefixResolver namespacePrefixResolver;
|
||||
@@ -152,7 +152,7 @@ public class AuthorityDAOImpl implements AuthorityDAO
|
||||
NodeRef authorityContainerRef = getAuthorityContainer();
|
||||
nodeService.createNode(
|
||||
authorityContainerRef,
|
||||
ContentModel.ASSOC_MEMBER,
|
||||
ContentModel.ASSOC_CHILDREN,
|
||||
QName.createQName("usr", name, namespacePrefixResolver),
|
||||
ContentModel.TYPE_AUTHORITY_CONTAINER,
|
||||
props);
|
||||
|
Reference in New Issue
Block a user