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 (4.3/Cloud)
74254: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (5.0/Cloud) 74153: Merged DEV to V4.2-BUG-FIX 73664 : MNT-11667 : "createComment" method creates activity for users who are not supposed to see the file Added "nodeRef" for json activity data. 74134 : MNT-11667 : "createComment" method creates activity for users who are not supposed to see the file Added unit test. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@74887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -267,7 +267,9 @@ public class CommentServiceImpl implements CommentService
|
||||
{
|
||||
StringBuilder sb = new StringBuilder("document-details?nodeRef=");
|
||||
sb.append(URLEncoder.encode(nodeRef.toString(), "UTF-8"));
|
||||
json.put("page", sb.toString());
|
||||
json.put("page", sb.toString());
|
||||
// MNT-11667 "createComment" method creates activity for users who are not supposed to see the file
|
||||
json.put("nodeRef", nodeRef.toString());
|
||||
}
|
||||
catch (UnsupportedEncodingException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user