If two dashlets extending the SimpleDocList component are visible on the same page, social features provided by like, favourite and comments buttons of the second dashlet are not working.
Steps to reproduce
1. Create a new Dashlet extending the SimpleDocList component (copy/paste my-documents dashlet and rename it to my-documents2 for instance). Note: social features are present on Site Content dashlet (in sources named as docsummary) on Alfresco 4.2
2. Add my-documents2 dashlet to the admin user dashboard (so that My-Document and My-Document2 dashlets are both displayed)
3. Click on the like and favourite buttons of a node displayed in the first dashlet (My-Document)
4. Click on the like and favourite buttons of a node displayed in the second dashlet (My-Documents2)
(a video is attached to the case to show steps to reproduce)
Node is liked/add to favourites as when we click on the like/favourite button of the first dashlet.
Click on like/favourite button don't have any effect.
Analysis to date
It seems there is a conflict between both dashlets regarding the Like/Favourite events listener.
This listener is likely to rely on the css class of the HTML element showing the node rather than an unique identifier.
A customer expecting to have multiple dashlets extending the SimpleDocList won't be able to use the OOTB Like/Favorite feature within to different dashlet.
The same issue is impacting the comments of SimpleDocList components in 4.2.