Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-11034

Social features are not working when multiple dashlets extending SimpleDocList are on the same dashboard

    Details

      Description

      Summary

      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)

      Expected Behaviour

      Node is liked/add to favourites as when we click on the like/favourite button of the first dashlet.

      Observed Behaviour

      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.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                croux Corentin Roux [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 6 hours
                  2d 6h

                    Structure Helper Panel