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

Would like the ability to export and import individual child pages for 6.1 GA1

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Fix Version/s: 6.1.30 EE GA3
    • Labels:
    • Environment:
      LIFERAY VERSION: 6.1 GA 1
      OPERATING SYSTEM: Linux
      APPLICATION SERVER: JBoss 7.x
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: MySQL 5.0
    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3

      Description

      In previous versions of Liferay such as 6.0x , users were able to export/import child pages without having to export/import all the pages. It would be helpful if this feature can be brought back to 6.1X

      Reproduction steps:
      1) Add Page with Child pages
      2) Add some portlets to the newly generated pages
      3) Navigate to the Control Panel > Site Pages
      4) Choose the page that you want to export from the tree(for example: Main Page)
      5) Click on export then Save it
      If you delete your pages and import the lar, you see that only the selected page got exported.

      On 6.0.12, 6.0.x I could only export the whole community's pages (liferay.com).
      In 6.1.10 and in 6.1.20 I could export them one-by-one.
      On trunk there is a page tree on the GUI which allows me to select the pages which I want to export. By default all the pages are selected.

        Issue Links

          Activity

          Hide
          randy.zhu Randy Zhu (Inactive) added a comment -

          In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.

          Show
          randy.zhu Randy Zhu (Inactive) added a comment - In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.
          Hide
          gabor.pusoma Gabor Pusoma (Inactive) added a comment -

          There's a problem in the code:

          for (Layout childLayout : childLayouts) {
          ArrayUtil.append(layoutIds, childLayout.getLayoutId());
          }

          should be replaced by:

          for (Layout childLayout : childLayouts) {
          layoutIds = ArrayUtil.append(layoutIds, childLayout.getLayoutId());
          }

          I'm resending the PR.

          Show
          gabor.pusoma Gabor Pusoma (Inactive) added a comment - There's a problem in the code: for (Layout childLayout : childLayouts) { ArrayUtil.append(layoutIds, childLayout.getLayoutId()); } should be replaced by: for (Layout childLayout : childLayouts) { layoutIds = ArrayUtil.append(layoutIds, childLayout.getLayoutId()); } I'm resending the PR.
          Hide
          mark.jin Mark Jin (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          Only the selected page got exported.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 9160b52975f731360a04e61369e47e90c8a74a69.

          All page got exported.

          Show
          mark.jin Mark Jin (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Only the selected page got exported. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 9160b52975f731360a04e61369e47e90c8a74a69. All page got exported.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 37 weeks, 2 days ago

                Development

                  Subcomponents