ICEfaces
  1. ICEfaces
  2. ICE-4136

JavaScript error with jQuery on Liferay 5.2.1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.8RC1
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      portals portlets Liferay

      Description

      Firebug reports the following error when an ICEfaces portlet is loaded into a portal page under Liferay 5.2.1:

      Class is not a constructor
      http://localhost:8080/chat-portlet/javascript.js?browserId=firefox&minifierType=js&t=1234462600000
      Line 1

      The forum poster notes more information:

      "Some liferay portlets load javascript code delayed, which containts the following code "new Class({...})". This actually fails with "Class is not a constructor" error, if the icefaces javascript code is loaded before hand."

      The error only occurs when you are actually signed in as an registered user. Using the portlet as a "guest", it doesn't occur. The likely reason for the different behaviour is that when you are signed in, additional JavaScript is used to allow the registered user more features (add portlets to the page, drag them around). It appears that we may have a conflict occurring with this additional code.

        Activity

        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Fix Version/s 1.8RC2 [ 10163 ]
        Fix Version/s 1.8 [ 10161 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P1
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Ken Fyten [ ken.fyten ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: