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




      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.


      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.


        1. image-2020-08-10-09-10-16-857.png
          346 kB
          Georgel Vasile Pop
        2. localhost-1596782866353.log
          32 kB
          Georgel Vasile Pop
        3. ReproduceLPS-117287_2.mp4
          2.06 MB
          Georgel Vasile Pop
        4. ReproduceLPS-117287.mp4
          3.79 MB
          Georgel Vasile Pop

          Issue Links



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


                Days since last comment:
                10 weeks ago


                  Version Package
                  7.3.5 CE GA6
                  7.3.10 DXP GA1