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

As a page admin I can export a display page in its Open JSON format and deploy/import them

    Details

      Description

      Display Page Templates allow defining the visualization of any content (or item in general) in a full page view (the content's display page).

      The goal of this tool is to facilitate exporting a display page template created using the visual page editor in order to:

      • Distribute it and import it in a different site or Liferay installation
      • Store it in source control system along with other page templates and fragments

      The export format should follow the open JSON format defined for page definitions plus a second file for display page-specific metadata. A JSON schema should be provided to allow validation of the format. This will allow developers to make modifications to the JSON files without having to import them into Liferay.

      The JSON format should always remain backwards compatibility to guarantee that a page template exported from a given Liferay version can be imported in a future Liferay version.

      The Fragment Toolkit must provide the same level of support for Display Page Templates as it has for other types of page templates.

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      Can export a display page template and import via UI Critical Manual No ExportImportDisplayPagesTest.testExportImportDisplayPage Yes
      Can export multiple display page templates and import via UI Critical Manual No ExportDisplayPagesMVCResourceCommandTest.testGetFileMultipleDisplayPageTemplates,DisplayPagesImporterTest.testImportDisplayPages Yes
      The Collection Display with mapping content should be exported and imported with display page template High Manual No No Yes
      Can export display page template based on custom master and import Medium Manual No No Yes
      Can export display page template and import to Staging site via UI Medium Manual No No Yes
      Can generate a display page template scaffolding via Liferay Fragments Toolkit Critical Manual JS Test > page-template-generator No No
      Can import display page templates to portal via Liferay Fragments Toolkit Critical Manual No No No
      Can compress display page templates with other page templates and fragments via Liferay Fragments Toolkit Medium Manual No No No
      Can import display page template with other page templates together via Liferay Fragments Toolkit Medium Manual No No No

        Attachments

          Issue Links

          1.
          Support Display Page Templates in Fragment Toolkit Technical Task Closed Sandro Chinea  
          2.
          Extend OPEN API yaml to support Display Page Templates Technical Task Closed Ruben Pulido  
          3.
          Create JSON schema for display page template Technical Task Closed Ruben Pulido  
          4.
          Create Feature Flag to hide export & import of display page templates per default Technical Task Closed Ruben Pulido  
          5.
          Support importing display page templates in LayoutPageTemplatesImporterImpl Technical Task Closed Ruben Pulido  
          6.
          Support exporting display page templates in ExportHelper Technical Task Closed Ruben Pulido  
          7.
          Allow exporting display page templates from the UI Technical Task Closed Ruben Pulido  
          8.
          Tests for validation of display page templates Technical Task Closed Product Team Echo  
          9.
          Integration tests for export of display page templates Technical Task Closed Product Team Echo  
          10.
          Integration tests for import of display page templates Technical Task Closed Product Team Echo  
          11.
          Integration tests for export + import of display page templates Technical Task Closed Product Team Echo  
          12.
          Use itemPK and itemClassName instead of itemKey when exporting mapping for editables Technical Task Closed Ruben Pulido  
          13.
          Use contentSubtype with classTypeId instead of contentSubtypeName and use contentType with className instead of contentTypeClassName Technical Task Closed Product Team Echo  
          14.
          Support exporting several display page templates at once from the UI Technical Task Closed Product Team Echo  
          15.
          Use contentSubtype with classTypeId instead of contentSubtypeName and use contentType with className instead of contentTypeClassName in CLI toolkit Technical Task Closed Sandro Chinea  
          16.
          Support exporting and importing fragments of type Collection Display with mapping Technical Task Closed Ruben Pulido  
          17.
          Rename classTypeId to subtypeId in contentSubtype Technical Task Closed Product Team Echo  
          18.
          Rename classTypeId to subtypeId in contentSubtype in Fragment Toolkit Technical Task Closed Sandro Chinea  
          19.
          Test Scenarios Coverage | Test Creation Technical Testing Closed Manoel Cyreno  
          20.
          Product QA | Test Validation - Round 1 Technical Testing Closed Manoel Cyreno  
          21.
          The Display Page Content fragment will be ignored when import display page template Impedibug Closed Yang Cao  
          22.
          NPE occurs when export display page template with Collection Display fragment Impedibug Closed Yang Cao  
          23.
          The numberOfColumns of imported Collection Display is inconsistent with one in JSON file Impedibug Closed Yang Cao  
          24.
          Product QA | Test Validation - Round 2 Technical Testing Closed Manoel Cyreno  
          25.
          Test Scenarios Coverage | Backend Technical Testing Closed Manoel Cyreno  
          26.
          Test Scenarios Coverage | Frontend Technical Testing Closed Ruben Pulido  

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master