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

As a page author I can save a composition of fragment including the mapping to existing content so that I can reuse the fragment in various personalized scenarios

    Details

      Description

      Intro/Context:

      This story will allow a Field Marketer to save personalized version of a Fragment for targeting different audiences with personalized content. As defined today a page fragment is a portion of a page composed by a given display/layout/styles.

       

      Given the user is able to modify the inline text and map the fields to an exiting content.

      When users press save for the given fragment (section/table rows) and a popup windows proposes to save the fragment (check box - as in the mock up)

      Then:

      • a popup windows should also have the option to save the mapped content (as shown in the mockups)
      • the new fragment is saved in the selected fragment collection including the mapped content configuration
      • a full copy of the text should be stored as default (in case the text mapped has been deleted or the reference is invalid) 

       

      When the user  maps the content of a fragment and the mapped content is missing

      Then the default text value should be shown to the user (without warning) 

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration)
      The mapped text should also be saved with composition when check Save Mapping Configuration Smoke Manual No Yes, AddFragmentCompositionMVCActionCommandTest.testDoTransactionalCommand
      The value of editable field should be reset in saved composition when uncheck Save Mapping Configuration Sanity Manual No No
      The mapped image should also be saved when save a composition of fragments containing mapped image Sanity Manual No No
      The value of editable field should be reset when the mapped content is missing Regression Manual No No

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.gutierrez David Gutiérrez Mesa
                Reporter:
                tarik.demnati Tarik Demnati
                Engineering Assignee:
                Pavel Savinov
                Recent user:
                David Gutiérrez Mesa
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master