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

Expanding pages in page administration is not possible for site administrators

    Details

      Description

      Steps to reproduce

      1. Login as site administrator
      2. Open the page administration of your site
      3. If you don't have any pages, add two pages, each with another page in it.
      4. Collapse all pages
      5. Reload the (web) page
      6. Click + to expand a page

      Expected result

      • The child pages are shown below the clicked parent page

      Actual result

      • The child pages are not shown until the next page refresh

      Workaround
      Patch tree_js.jsp (line 253):

      html/portlet/layouts_admin/tree_js.jsp
        ...
        id: TreeUtil.createListItemId(node.groupId, node.layoutId, node.plid),
        io: {
          cfg: {
            data: function(node) {
              return {
                // Add the following lines:
                p_p_id: "88",
                p_l_id: <%= plid %>,
                controlPanelCategory: 'current_site.pages',
                doAsGroupId: TreeUtil.extractGroupId(node),
        ...
      

      This issue is similar to LPS-45159 - but it has another workaround, as a different server request is used.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              starrunner Tobias Liefke
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 34 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1