ICEfaces
  1. ICEfaces
  2. ICE-6861

Portlets: Javascript errors when having 2 or more ACE portlets on the same page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, EE-2.0.0.GA
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Liferay 5.2.3

      Description

      When loading a page in Liferay 5.2.3 that contains 2 or more ACE components some Javascript errors occur. The errors occur in the YUI code. At the moment, these errors do not occur in the 2.0 maintenance branch (release 2.0.2) in the repository, but they do occur in the icefaces2 trunk. It is necessary to compare the two versions of the code and fix these errors in the icefaces 2 trunk.

        Issue Links

          Activity

          Arturo Zambrano created issue -
          Arturo Zambrano made changes -
          Field Original Value New Value
          Assignee Arturo Zambrano [ artzambrano ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.1 [ 10241 ]
          Hide
          Arturo Zambrano added a comment -

          The error only occurs in Firefox, and only when the page is loaded. There are no additional errors when interacting with the page, and the components work normally, despite the error.

          It seems to be related to the version of YUI being used (3.3.0). On the maintenance branch this doesn't happen, since it uses YUI 3.1.1. I tested the icefaces2 trunk codebase with YUI 3.1.1 and the error didn't appear. Likewise, I tested the 2.0 maintenance branch with YUI 3.3.0 and the error did appear.

          Show
          Arturo Zambrano added a comment - The error only occurs in Firefox, and only when the page is loaded. There are no additional errors when interacting with the page, and the components work normally, despite the error. It seems to be related to the version of YUI being used (3.3.0). On the maintenance branch this doesn't happen, since it uses YUI 3.1.1. I tested the icefaces2 trunk codebase with YUI 3.1.1 and the error didn't appear. Likewise, I tested the 2.0 maintenance branch with YUI 3.3.0 and the error did appear.
          Arturo Zambrano made changes -
          Link This issue depends on ICE-7176 [ ICE-7176 ]
          Hide
          Arturo Zambrano added a comment -

          now that we don't depend on the YUI 3.x library, there should be no conflicts related to different YUI 3 versions in portlets

          Show
          Arturo Zambrano added a comment - now that we don't depend on the YUI 3.x library, there should be no conflicts related to different YUI 3 versions in portlets
          Arturo Zambrano made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.1-Beta [ 10291 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Arturo Zambrano
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: