Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-3968

Saved searches dashlet on user dashboard never returns results when some of the results are not from a site

    Details

      Description

      Steps to reproduce:

      1. Create a folder in "Shared files" called "hubbabubba".
      2. Add the "Saved searches" dashlet to your user dashboard.
      3. Change the search term to "hubbabubba".

      The dashlet will display "Loading..." and never return any results.

      A JavaScript error is thrown: "TypeError: Cannot read property 'shortName' of undefined"

      A brief look at the code shows that the /components/dashlets/saved-search.js code in function "renderCellDescription" expects that the search result item has a "site" property. The results returned by /alfresco/templates/webscripts/org/alfresco/slingshot/search/search.get.js do not set this property if the result is not located on a site.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  syastrov Seth Yastrov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 0 minutes
                    0m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 3 hours, 30 minutes
                    3h 30m

                      Structure Helper Panel