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:
@@ -67,3 +67,8 @@ patch.descriptorUpdate.result=Repository descriptor updated
|
||||
patch.scriptsFolder.description=Ensures the existence of the 'Scripts' folder.
|
||||
patch.scriptsFolder.result.exists=The scripts folder already exists: {0}
|
||||
patch.scriptsFolder.result.created=The scripts folder was successfully created: {0}
|
||||
|
||||
patch.topLevelGroupParentChildAssociationTypePatch.description=Ensure top level groups have the correct child association type.
|
||||
patch.topLevelGroupParentChildAssociationTypePatch.=Fixed top level groups child association type.
|
||||
|
||||
|
||||
|
@@ -360,4 +360,13 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
||||
<bean id="patch.topLevelGroupParentChildAssociationTypePatch" class="org.alfresco.repo.admin.patch.impl.TopLevelGroupParentChildAssociationTypePatch" parent="basePatch">
|
||||
<property name="id"><value>patch.topLevelGroupParentChildAssociationTypePatch</value></property>
|
||||
<property name="description"><value>patch.topLevelGroupParentChildAssociationTypePatch.description</value></property>
|
||||
<property name="fixesFromSchema"><value>0</value></property>
|
||||
<property name="fixesToSchema"><value>13</value></property>
|
||||
<property name="targetSchema"><value>14</value></property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
version.major=1
|
||||
version.minor=3
|
||||
version.revision=0
|
||||
version.label=RC1
|
||||
version.label=RC2 (dev)
|
||||
|
||||
# Edition label
|
||||
|
||||
@@ -15,4 +15,4 @@ version.edition=Community Network
|
||||
|
||||
# Schema number
|
||||
|
||||
version.schema=13
|
||||
version.schema=14
|
||||
|
@@ -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