Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-139268

Sites that don't have pages (such as the Global Site) can never be included in Recent Sites tab

    Details

      Description

      Description
      In LPS-97367, we moved the logic that adds a visited Site to the "Recent Sites" collection. We moved this logic from the Site Administration portlet to the User Personal Bar View Portlet.

      Unfortunately, the User Personal Bar View Portlet only seems to be called when visiting an actual page of a Site. If a Site has no pages, then the logic won't be called, and so the Site won't be added to the "Recent Sites" view.

      One major repercussion of this is that the Global Site can no longer ever be added to the Recent Sites view. The Global Site will never have pages, so it will never get added to the Recent Sites view. Based on the existence of LPS-93854, this is a bug.

      We should add the logic back into the Site Administration portlet where it originally was, so that the Recent Sites view will get updated properly regardless of whether it was the Site's page that was visited or the Site's control panel that was visited.

      Steps to Reproduce
      1. Start up a clean instance of Liferay and log in as the admin user
      2. Navigate to the User Profile icon (top-right corner) > My Sites > My Sites tab > Global
      3. Navigate to the User Profile icon (top-right corner) > My Sites > My Sites tab > Liferay DXP
      4. Navigate to the User Profile icon (top-right corner) > My Sites, and observe the listings in the "Recent" tab
      Expected Result: The Global site would appear in the Recent tab since the user recently visited the Global site
      Actual Result: The Global site does not appear in the Recent tab

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oziel.souza Oziel Souza
              Reporter:
              michael.bowerman Michael Bowerman
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Michael Bowerman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 5 days ago

                  Packages

                  Version Package
                  7.3.X
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master