From 873db6ba7c2cf85187539fb679d2d1990283355d Mon Sep 17 00:00:00 2001 From: Alan Davis Date: Sun, 11 May 2014 11:39:28 +0000 Subject: [PATCH] ACE-1640: Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud) 70000: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud) 69998: Merged V4.1-BUG-FIX (4.1.9) to V4.2-BUG-FIX (4.2.3) 69997: MNT-11437: Merged V4.1.5 (4.1.5.14) to V4.1-BUG-FIX (4.1.9) 69995: Revised fix for MNT-11107 Documents uploaded by another user are not filtered via tags in My Files Fix for MNT-11427 Impossible to start reindex process for bm-0010 and bm-0013 tests: api/solr/aclchangesets return status:502 - fixed as described - no complex join - pull back and check inherited shared are indexed when the defining acls is indexed if it exists - will also be indexed if created lazily git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@70001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../solr-common-SqlMap.xml | 10 +++--- .../alfresco/repo/domain/solr/AclEntity.java | 22 ++++++++---- .../repo/domain/solr/ibatis/SOLRDAOImpl.java | 36 ++++++++++++++++--- source/java/org/alfresco/repo/solr/Acl.java | 3 +- 4 files changed, 56 insertions(+), 15 deletions(-) diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml index 2a190892f3..bd852ab831 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/solr-common-SqlMap.xml @@ -12,7 +12,8 @@ - + + @@ -41,7 +42,7 @@ alf_acl_change_set acs join alf_access_control_list acl on (acl.acl_change_set = acs.id) - exists (select 1 from alf_node admnode where admnode.acl_id = acl.id OR admnode.acl_id = acl.inherits_from) + exists (select 1 from alf_node admnode where admnode.acl_id = acl.id) and = #{fromCommitTimeInclusive}]]> @@ -62,11 +63,12 @@