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

"Maximum call stack size exceeded" when adding a column to an AUI datatable

    Details

    • What problem did the customer find?:
      Hide
      Create a portlet with a view.jsp that includes a javascript that calls AUI's datable.
      Deploy and place the portlet on a page which already contains some portlet (e.g a Message Board portlet). (If you place it on an empty page, the issue does not occur)
      Show
      Create a portlet with a view.jsp that includes a javascript that calls AUI's datable. Deploy and place the portlet on a page which already contains some portlet (e.g a Message Board portlet). (If you place it on an empty page, the issue does not occur)
    • What do you think is the root cause? (if known):
      AUI master branch contains a fix(AUI-1013) that is not backported to aui 2.y branch.
    • Proposed solution (if any):
      We need to backport AUI-1013 to aui 2.x.

      Description

      Reproduction Steps

      1. Create a portlet with a view.jsp that includes a javascript that calls AUI's datable. I have attached the portlet I used.
      2. Deploy and place the portlet on a page which already contains some portlet (e.g a Message Board portlet). (If you place it on an empty page, the issue does not occur)
      Result: The name of the added column is not changed and browser console throws "Uncaught RangeError: Maximum call stack size exceeded"

      I got the same error even if only using addColumn, without trying to modify it.

      Please use the attached portlet for testing it.

        Attachments

        1. datatable-portlet.zip
          40 kB
        2. datatable-portlet-6.2.10.1.war
          34 kB
        3. fixed.png
          fixed.png
          54 kB
        4. LPP-24882-after-fixing.gif
          LPP-24882-after-fixing.gif
          692 kB
        5. LPP-24882-before-fixing.gif
          LPP-24882-before-fixing.gif
          1.16 MB

          Issue Links

            Activity

              People

              • Assignee:
                hong.zhao Hong Zhao
                Reporter:
                zsolt.szabo Zsolt Szabo (Inactive)
                Participants of an Issue:
                Recent user:
                Nicole Mak
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 24 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE