mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84121: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud) 82508: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4) 82319: Merged DEV to V4.1-BUG-FIX (4.1.10) 81073 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Initial commit to revert fixes for MNT-8527 (r48757) and MNT-9483 (r56137) as this fixes causes performance issue for Oracle. 81966 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Default value for feed_user_id and site_network is now @@NULL@@. - IS NULL clause was completly removed from activities queries. - Upgrade sql script was added to replace nulls for Oracle (empty strings for other dialect) with @@NULL@@. - Version schema was incremented by 1. 82278 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Fixed unit test failure. 83431: MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Fixed build failure 84115: MNT-9532/MNT-11871: with the revert of MNT-11871 patch, MNT-9532 should be using a lower schema number. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,6 +24,7 @@ import static org.junit.Assert.assertTrue;
|
||||
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.repo.activities.post.lookup.PostLookup;
|
||||
import org.alfresco.repo.domain.activities.ActivitiesDAO;
|
||||
import org.alfresco.repo.domain.activities.ActivityFeedEntity;
|
||||
import org.alfresco.repo.domain.activities.ActivityPostDAO;
|
||||
import org.alfresco.repo.management.subsystems.ChildApplicationContextFactory;
|
||||
@@ -317,7 +318,7 @@ public class FeedNotifierTest
|
||||
boolean found = false;
|
||||
for (ActivityFeedEntity feed : feeds)
|
||||
{
|
||||
if (feed.getActivityType().equals(activityType) && (feed.getSiteNetwork() == null || feed.getSiteNetwork().isEmpty()))
|
||||
if (feed.getActivityType().equals(activityType) && ActivitiesDAO.KEY_ACTIVITY_NULL_VALUE.equals(feed.getSiteNetwork()))
|
||||
{
|
||||
found = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user