RM-5013 Cherry-pick "Merge branch 'hotfix-2.5/MNT-17007_solr_query' into 'release/V2.5.0.x'"

Hotfix 2.5/mnt 17007 solr query

2.5.0.1 hotfix will contain the fix for the SOLR issue and Audit issue
MNT-17007 - Cannot login with other user than admin, after RM 2.5 was installed
RM-4249 - RM Audit doesn't work with alfresco 5.2

See merge request !602

Nb. This does not copy across the updates to the automation tests.

(cherry picked from commit f19ece3538)
This commit is contained in:
Ana Bozianu
2016-11-04 16:40:30 +00:00
committed by Tom Page
parent bea04479ad
commit 1822c418f7

View File

@@ -84,8 +84,8 @@ public class NotifyOfRecordsDueForReviewJobExecuter extends RecordsManagementJob
// notification has not been sent. // notification has not been sent.
StringBuilder queryBuffer = new StringBuilder(); StringBuilder queryBuffer = new StringBuilder();
queryBuffer.append("+ASPECT:\"rma:vitalRecord\" "); queryBuffer.append("+ASPECT:\"rma:vitalRecord\" ");
queryBuffer.append("+(@rma\\:reviewAsOf:[MIN TO NOW] ) "); queryBuffer.append("AND @rma\\:reviewAsOf:[MIN TO NOW] ");
queryBuffer.append("+( "); queryBuffer.append("AND ( ");
queryBuffer.append("@rma\\:notificationIssued:false "); queryBuffer.append("@rma\\:notificationIssued:false ");
queryBuffer.append("OR ISNULL:\"rma:notificationIssued\" "); queryBuffer.append("OR ISNULL:\"rma:notificationIssued\" ");
queryBuffer.append(") "); queryBuffer.append(") ");