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

TypeError when publishing journal article after editing template or structure in web content display portlet

Details

    Description

      Steps to reproduce:

      1. Navigate to Content > Web Content
      2. Add the following resources:
        • A web content article using the Basic Web Content structure and template
        • A new web content structure
        • A new web content template associated with the new structure
      3. Add a web content display portlet
      4. Select the basic web content article to be displayed in the portlet
      5. Edit the web content article through the display portlet
      6. Open the "Structure and Template" panel
      7. Select either a new structure or template
      8. Publish the article

      Expected result: Article is published successfully; edit iframe is closed upon publishing, and the article is rendered using the new structure and template
      Actual result: Clicking the "Publish" button throws a TypeError in the developer console:

      TypeError: c.get(...) is undefined

      Reproducible on:
      Tomcat 8.0.32 + MySQL 5.7
      Portal Master GIT ID: f8c4fbf9f33adb85e508dfe6b248420f152e63cb

      Not Reproducible on:
      Tomcat 8.0.32 + MySQL 5.7
      Liferay DXP SP1 + SP11
      Portal ee-7.0.x GIT ID: aabdce50c6752a338ddc01b47a4f496dedcf444d

      Attachments

        Issue Links

          Activity

            People

              anthony.chu Anthony Chu
              anthony.chu Anthony Chu
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 33 weeks ago

                Packages

                  Version Package
                  7.0.0 DXP FP22
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master