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

Can not import master page containing Image fragment with image

    Details

      Description

      Step to reproduce:

      1. Add a master page
      2. Add an Image fragment above the Drop Zone
      3. Click the editable field of Image > Image Source tab
      4. Click Select button of Image field > Documents and Media tab
      5. Upload an image > Add
      6. Publish Master
      7. Click the ellipsis button of master page > Export
      8. Add a new site
      9. Navigate to Page Templates admin
      10. Click the ellipsis button next to Applications Menu icon > Import
      11. Import the master page

      Expected Results:
      The import should succeed.

      Actual Results:
      The import failed. Additionally, the following error message is shown in Import modal

      No page template could be imported.
      master-pages/custom-master/master-page.json could not be imported because its page definition is invalid.
      

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: 1aa239c029ba89c1d1adf0b69f52b8867ed74526.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            yang.cao Yang Cao
            Participants of an Issue:
            Recent user:
            Yang Cao
            Engineering Assignee:
            Ruben Pulido
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              38 weeks, 2 days ago

                Packages

                Version Package
                Master