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

Page editor can be rendered unusable by repeatedly editing a text box when there is a high number of fragments on the page

    Details

      Description

      This issue is fixed by a technical task in Master and is therefore documenting the backport of that fix to 7.2 to fix the issue seen.

      Reproduction Steps:
      1. Setup an instance of Liferay.
      2. Create a page and add a large number (at least 10+) fragments with text on them to the page.
      3. Publish the page. Open your browser console.
      4. Edit the page. Edit the text in one of these fragments and repeatedly attempt to edit the fragment by clicking on it/clicking away from it.

      Expected Result: No exceptions occur. You are able to edit the fragment's text.
      Actual Result: The editor freezes. The following exception appears in the console:

      Uncaught TypeError: Cannot read property 'length' of null

      This is a really flaky performance error and requires a large number of fragments to be seen. So far we've required a client's setup to reproduce it since they have a combination of large enough/complex enough fragments that the error is consistently reproducible.

      Reproduced in:
      7.2 DXP-4

      Not Reproduced in:
      Master

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chao.wang Chao Wang
              Reporter:
              lianne.louie Lianne Louie
              Participants of an Issue:
              Recent user:
              Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 6 days ago

                  Packages

                  Version Package
                  7.2.X