mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V4.1-BUG-FIX to HEAD
43114: ALF-15986: ALF-15986: Upgrade to Bitrock 8.5.1 in order to improve font scaling and adaptive layout with Gtk - Helps I18N 43131: Fix for ALF-16510 (webview link incorrect style in High Constrast theme) and also corrected background color class in Activities title in High Contrast them. 43147: ALF-14395: AccessDeniedException Thrown When Adding ch:contentHits Aspect from CustomAspect SDK Project Now sets a runAs user in the execution thread (using the correct tenant) Also fixes a bug where the read list was being used as the write list! 43154: Merged BRANCHES/DEV/FEATURES/CLOUD1_DISCUSSIONS to BRANCHES/DEV/V4.1-BUG-FIX: 43145: CLOUD-889: Fix noderefs to use base name for nested replies. Convert integration test to run all tests within a tenant (ALF-16498) 43172: Merged V3.4-BUG-FIX to V4.1-BUG-FIX 43166: ALF-14306 Add priorities to transformers << incomplete - initial steps >> - Addition of a TransformerSelector with the same logic as was there before. Makes changing the selection transformers simpler in future. - Addition of TransformerLog that logs a single DEBUG line for each top level transformer attempt (includes no transformers available). Records: sourceMimetype, targetMimetype, INFO/WARN/ERROR, FileName, FileSize, TransformerName, FailureMessage, TimeTaken Makes adding a true transformer log in future simpler. 43169: Merged V3.4 to V3.4-BUG-FIX 43167: ALF-16379: Performance degradation detected in benchmark test - Contention found in concurrent searches - Due to a correction in path generation behaviour in ALF-15171, there were a lot more 'container' (path) documents in the index. This meant that searches by node ID would hit a lot of path documents as well as the node document with ISNODE=T. This meant that whatever caches were in the indexreaders would be exhausted so concurrent searches would contend with each other on cache loading. - Using the ALF-15077 solution, LeafScorer now directly locates 'leaf' nodes using LEAFID=<noderef> (when possible) and avoids exhausting the caches and hitting container documents. 43171: Merged V3.4 to V3.4-BUG-FIX (RECORD ONLY) 43168: ALF-16379: Merged PATCHES/V4.1.1 to V3.4 42592: ALF-16332: Alternative version of AbstractWebScriptViewResolver that uses a ConcurrentHashMap and thus allows multiple views to be resolved at the same time! 43173: Merged V3.4-BUG-FIX to V4.1-BUG-FIX (RECORD ONLY) 43170: Merged V4.1-BUG-FIX to V3.4-BUG-FIX 42741: Fix for ALF-16332 - Alternative version of AbstractWebScriptViewResolver that uses a ConcurrentHashMap and thus allows multiple views to be resolved at the same time! git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@43175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -584,7 +584,7 @@ public class DiscussionServiceImpl implements DiscussionService
|
||||
NodeBackedEntity node = results.getPage().get(0);
|
||||
|
||||
// Wrap and return
|
||||
return buildPost(node.getNodeRef(), topic, node.getName(), null);
|
||||
return buildPost(tenantService.getBaseName(node.getNodeRef()), topic, node.getName(), null);
|
||||
}
|
||||
|
||||
|
||||
@@ -820,7 +820,7 @@ public class DiscussionServiceImpl implements DiscussionService
|
||||
Map<Long,NodeRef> idToNodeRef = new HashMap<Long, NodeRef>();
|
||||
for(NodeWithTargetsEntity e : results.getPage())
|
||||
{
|
||||
idToNodeRef.put(e.getId(), e.getNodeRef());
|
||||
idToNodeRef.put(e.getId(), tenantService.getBaseName(e.getNodeRef()));
|
||||
}
|
||||
|
||||
Map<NodeRef,List<NodeWithTargetsEntity>> idToReplies = new HashMap<NodeRef, List<NodeWithTargetsEntity>>();
|
||||
@@ -869,7 +869,7 @@ public class DiscussionServiceImpl implements DiscussionService
|
||||
{
|
||||
for (NodeWithTargetsEntity entity : replies)
|
||||
{
|
||||
calculateRepliesPreLoad(entity.getNodeRef(), preLoad, idToReplies, levels-1);
|
||||
calculateRepliesPreLoad(tenantService.getBaseName(entity.getNodeRef()), preLoad, idToReplies, levels-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -885,7 +885,7 @@ public class DiscussionServiceImpl implements DiscussionService
|
||||
{
|
||||
for (NodeWithTargetsEntity entity : replyEntities)
|
||||
{
|
||||
PostInfo replyPost = buildPost(entity.getNodeRef(), post.getTopic(), entity.getName(), null);
|
||||
PostInfo replyPost = buildPost(tenantService.getBaseName(entity.getNodeRef()), post.getTopic(), entity.getName(), null);
|
||||
replies.add(wrap(replyPost, idToReplies, levels-1));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user