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

            Activity

              People

              Assignee:
              david.gutierrez David Gutiérrez Mesa
              Reporter:
              jorge.ferrer Jorge Ferrer
              Engineering Assignee:
              Ruben Pulido
              Recent user:
              Manoel Cyreno
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master