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

The Web Content article Publish button stops working seemingly due to partially loaded javascript

    Details

      Description

      Description

      The customer reported that the Publish button for Web Content is sporadically not working for them. In PTR-1733 a set of reproduction steps were found that seemingly point towards involvement with LPS-113956 (as a side note when I reproduced this behavior I was unable to edit content fields in addition to the Publish button no longer working).

      Steps to reproduce

      1) Be sure to have SPA enabled
      2) Go to Sites select Global (site) > Content & Data > Web Content > Structures and copy the Basic Web Content renaming it to "Basic Web Content 2"
      3) Select the HTML field of the new structure to make the field repeatable
      4) Go back to your site and create a Web Content with the new structure introducing at least two values for Content field and click Save.
      5) Double click to Edit the previous Web Content and click the back button very quickly afterwards without allowing the page to fully load. This step needs to be repeated several times to increase the likelihood of the causative event occurring.
      6) Click in the '+' button to create a new Web Content.

      Results of Testing

      Expected Result: The Publish button will work as expected as well as content fields.
      Actual Result: The Publish button does not work. Sometimes, certain fields such as description, content or title do not work either.

      Errors/Logs

      This appears within the browser's developer console when the Publish button fails to work:

      ckeditor.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1592928320518:972 Uncaught TypeError: Cannot read property 'data' of undefined
          at h (VM179 ckeditor.js:972)
          at k (VM179 ckeditor.js:980)
          at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.<anonymous> (VM179 ckeditor.js:979)
          at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.k (VM179 ckeditor.js:7)
          at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.fire (VM179 ckeditor.js:8)
          at HTMLHtmlElement.<anonymous> (VM179 ckeditor.js:60
      

      * Please see Zendesk Support tab for further comments and attachments.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              georgel.pop Georgel Vasile Pop
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Engineering Assignee:
              Marko Čikoš
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                10 weeks ago

                  Packages

                  Version Package
                  7.2.X
                  7.3.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master