Details

      Description

      Description:
      When attempting to created a drafted Page in the Wiki Portlet while another drafter page already exists, the Save as Draft button will not work and the Browser Console will throw the following error:

      Uncaught TypeError: Cannot read property 'data' of undefined
       at n (VM744 ckeditor.js:887)
       at c (VM744 ckeditor.js:894)
       at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.<anonymous> (VM744 ckeditor.js:893)
       at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.h (VM744 ckeditor.js:6)
       at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.fire (VM744 ckeditor.js:7)
       at HTMLHtmlElement.<anonymous> (VM744 ckeditor.js:53)
       14autocomplete.js?t=IAH0:91 Uncaught TypeError: Cannot read property 'startContainer' of undefined
       at m._getCaretContainer (VM799 autocomplete.js:91)
       at m._getPrevTriggerPosition (VM799 autocomplete.js:151)
       at m._getQuery (VM799 autocomplete.js:229)
       at m._processCaretPosition (VM799 autocomplete.js:318)
       at m._processCaret (everything.jsp?browserId=other&themeId=classic_WAR_classictheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=en_US&b=7010&t=1548710214688:987)
       at l (everything.jsp?browserId=other&themeId=classic_WAR_classictheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=en_US&b=7010&t=1548710214688:1117)
       12ckeditor.js?browserId=other&minifierType=js&languageId=en_US&b=7010&t=1548710214274:887 Uncaught TypeError: Cannot read property 'data' of undefined
       at n (VM744 ckeditor.js:887)
       at c (VM744 ckeditor.js:894)
       at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.<anonymous> (VM744 ckeditor.js:893)
       at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.h (VM744 ckeditor.js:6)
       at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.element.fire (VM744 ckeditor.js:7)
       at HTMLHtmlElement.<anonymous> (VM744 ckeditor.js:53)

      Dependencies:
      Only reproducible in Chrome.

      Steps to Reproduce:
      1) Startup Liferay DXP 7.0 patched with de-68
      2) Access Liferay using Chrome
      3) Add the Wiki Portlet to a Page
      4) Navigate to All Pages Tab and click the + on the top right
      5) Create a Wiki Page and Save as Draft
      6) Repeat step 4
      7) Turn on Developer Tools and observe console
      8) Click Save as Draft

      Expected Result: The page is saved a draft, as well.
      Actual Result: Errors mentioned in the Description are thrown in Browser Console.

      Branch:  Reproduced. 4b0fd52300bbe9c20d6d27671b5616a38189f2a8
      Master:  Fixed. 413d61f158d682e42378f27dee52ad38d8c16297

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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                16 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP79
                7.0.10.11 DXP SP11
                7.0.X
                7.1.10 DXP FP9
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                Master