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

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

    Details

      Description

      Intro/Context

      Currently master pages can be can only be created visually within a site.

      The goal of this story is to facilitate distributing masters so that they can be reused across sites in a similar way to what is already possible for fragments.

       

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration)
      Can not export a master page template when it doesn't has published version Smoke Manual No No
      Can export a master page template and import Smoke Manual ExportImportMasterLayoutsTest.testExportImportMasterLayoutDropZoneAllowNewFragmentEntries No
      Can import a zip file with multiple master page templates Smoke Manual MasterLayoutsImporterTest.testImportMasterLayouts No
      Can export a master page template containing contributed fragments and import Smoke Manual Yes, PageDefinitionConverterUtilTest.testToPageDefinitionFragment* No
      Can export a master page template containing the layout elements and nested elements and import Sanity Manual No No
      Can export a master page template containing the edited inline content of fragments and import Sanity Manual No No
      Can export a master page template containing the custom configuration settings of fragments and import Sanity Manual No No
      Can export a master page template with the custom Look and Feel and import Sanity Manual No No
      Can export a master page template with the thumbnail and import Sanity Manual No No
      Can export a master page template contains settings of Configure Allowed Fragments without Select New Fragments Automatically and import Smoke Manual PageDefinitionConverterUtilTest.testToPageDefinitionDropZoneAllowedFragments No
      Can export a master page template contains settings of Configure Allowed Fragments with Heading and Select New Fragments Automatically and import Smoke Manual ExportImportMasterLayoutsTest.testExportImportMasterLayoutDropZoneAllowNewFragmentEntries,PageDefinitionConverterUtilTest.testToPageDefinitionDropZoneUnallowedFragments No
      The regular error message will be shown when import a corrupted zip file Regression Manual No No
      The entry will be ignored when import an zip file without valid files Regression Manual No No
      The specific error message should be shown when import a master page template with invalid value in json file Sanity Manual No No
      The existing entry will be overwritten when import a master page template with thumbnail if check Overwrite Existing Entries Sanity Manual No No
      The specific error message should be shown in Import popup when exist the same name of master page template if uncheck Overwrite Existing Entries Smoke Manual MasterLayoutsImporterTest.testImportMasterLayoutExistingNameNoOvewrite No

        Attachments

          Issue Links

          1.
          [UX] Propose a way to import a Master Page Technical Task Closed Juan Anton  
          2.
          Tests for validation Technical Task Closed Jürgen Kappler  
          3.
          Integration tests for Converter Technical Task Closed Ruben Pulido  
          4.
          Allow exporting ZIP file from the UI Technical Task Closed Jürgen Kappler  
          5.
          Allow importing ZIP file from the UI Technical Task Closed Ruben Pulido  
          6.
          Extend OPEN API yaml to support Dropzone Technical Task Closed Jürgen Kappler  
          7.
          Extend JSON Schema to support Dropzone Technical Task Closed Jürgen Kappler  
          8.
          Create JSON schema for master page Technical Task Closed Brian Chan  
          9.
          Add DropZone definition to PageDefinitionConverterUtil Technical Task Closed Jürgen Kappler  
          10.
          Create Feature Flag to hide export & import of master pages per default Technical Task Closed Jürgen Kappler  
          11.
          Product QA | Test Scenarios/Cases Creation Technical Testing Closed David Gutiérrez Mesa  
          12.
          Exclude fragment entry keys which do not refer to fragments from exported page-definition.json Technical Task Closed Brian Chan  
          13.
          Backend code to import master page Technical Task Closed Brian Chan  
          14.
          Integration tests for MasterLayoutImporter Technical Task Closed Brian Chan  
          15.
          Display help message in import dialog with link to documentation Technical Task Closed Ruben Pulido  
          16.
          Display a more specific success message when import is successful Technical Task Closed Ruben Pulido  
          17.
          Product QA | Test Validation - Round 1 Technical Testing Closed Yang Cao  
          18.
          Test Scenarios Coverage | Frontend Technical Testing Closed Ruben Pulido  
          19.
          Test Scenarios Coverage | Backend Technical Testing Closed Product Team Echo  
          20.
          Imported custom master misses the default value of editable field Impedibug Closed Yang Cao  
          21.
          The specific message should be shown when import master containing invalid value in json file Impedibug Closed Yang Cao  
          22.
          Could not overwrite existing entry when imported master has thumbnail Impedibug Closed Yang Cao  
          23.
          Product QA | Test Validation - Round 2 Technical Testing Closed David Gutiérrez Mesa  
          24.
          The allowed fragments of imported master is different with exported master Impedibug Closed Yang Cao  

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master