Uploaded image for project: 'Share Application'
  1. Share Application
  2. SHA-1888

"Site content" dashlet keep the same preferences in all the sites

    Details

    • Bug Priority:
      Category 2
    • Template:

      Description

      "Site content" dashlet preferences are not working correctly. If we have different sites, with the dashlet in the same position, it keeps the same preference in all the sites.

      steps to reproduce:

      1. create site "site test A"
      2. change "Site content" preference to "I'm Editing"
      3. create site "site test B"

      What should happen:

      4. the dashlet "Site content" preference in "site test B" should be "Recently modified by me" by default

      What happens:

      4. the dashlet "Site content" preference in "site test B" has the same preference as in "site test A"

      When we change the preference, the following webscript is executed (seen with firebug):

      POST 'http://localhost:8080/share/proxy/alfresco/api/people/admin/preferences'

      and the preference in JSON is:

      {"org":{"alfresco":{"share":{"docsummary":{"dashlet":{"component-2-1":

      {"filter":"recentlyModifiedByMe"}

      }}}}}}

      If we do the same in another site, the preference is the same, because the dashlet it's in the same position ("component-2-1"). A possible workaround would be to keep also the site ID in the JSON request.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                patriciay Patricia Yague (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel