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

As a page administrator I can import content page templates within a fragments ZIP

    Details

      Description

      The goal of this story is to allow page administrators to import page templates alongside fragments in the ZIP. Since a page template may contain a number of variations of content and configuration, to keep the scope of this story limited, only the following data will be supported:

      • Fragments added to the page
      • The layouts of columns added to the page and the fragments inside its columns
      • Inline content introduced within fragment editable elements
      • The configuration of all the fragments of the page
      • The look & feel configuration of the page

      Known limitations

      The following information will not be imported for now (support will be added in subsequent stories):

      • Widget Configuration (Portlet Preferences)
      • Widget Permissions
      • Mappings of editables to existing content
      • Fragment HTML, CSS, JavaScript & Resources: Only a reference to the name of the fragment will be exported. On import in the fragment entry is not found, it will be ignored.

      Technical notes

      • The import format should be done into a JSON file as defined in LPS-106212.
      • The JSON file must have a JSON Schema that facilitates modifying it and validating the change.

      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 import a zip file with single content page template to page templates collection Smoke Manual No Yes, LayoutPageTemplatesImporterTest
      Can import a zip file with multiple content page templates to page templates collection Smoke Manual No TO DO
      When import a content page template, the contributed fragments from zip file also be imported Smoke Manual No No
      The fragments that not existing in current site will be ignored when import a content page template Sanity Manual No No
      When import a content page template, the layout elements and nested elements from zip file also be imported Sanity Manual No Yes, LayoutPageTemplatesImporterTest
      When import a content page template, the edited inline content of fragments from zip file also be imported Sanity Manual No Yes, LayoutPageTemplatesImporterTest
      When import a content page template, the custom configuration settings of fragments from zip file also be imported Sanity Manual No Yes, LayoutPageTemplatesImporterTest
      When import a content page template, the custom Look and Feel of it should also be imported Sanity Manual No TO DO
      When import a content page template with the Fjord theme, the imported one should be also based on Fjord theme that is available theme in current site Sanity Manual No No
      Can import a content page template based on custom master to page templates collection Sanity Manual No TO DO
      When import a content page template with thumbnail, the thumbnail should also be imported Smoke Manual No TO DO
      Can export a content page template with custom fragments and import Sanity Manual No No

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              Assignee:
              manoel.cyreno Manoel Cyreno
              Reporter:
              jorge.ferrer Jorge Ferrer (Inactive)
              Engineering Assignee:
              J├╝rgen Kappler
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master