ICEfaces
  1. ICEfaces
  2. ICE-5762

ICEfaces 2.0 + PortletFaces Bridge: JavaScript error on initial HTTP-GET

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Liferay 5.2.3

      Description

      When the attached portlet is deployed in Liferay 5.2.3, FireFox reports the following JavaScript error on the initial HTTP-GET of the page:

      ice.onBlockingConnectionUnstable is not a function

        Activity

        Neil Griffin created issue -
        Neil Griffin made changes -
        Field Original Value New Value
        Attachment icefaces-2.0-compat-portlet.zip [ 12360 ]
        Neil Griffin made changes -
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Beta [ 10231 ]
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Ken Fyten made changes -
        Salesforce Case []
        Component/s Bridge [ 10011 ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2
        Deryk Sinotte made changes -
        Salesforce Case []
        Fix Version/s 2.0.0 [ 10230 ]
        Fix Version/s 2.0-Beta [ 10231 ]
        Hide
        Deryk Sinotte added a comment -

        It's possible that after some of the current work Ted has done with ICEfaces 2 and the new Portlet Bridge that some or all of the older portlet related issues are no longer relevant. Assigning to Ted to verify which can be closed and which may still need more work.

        Show
        Deryk Sinotte added a comment - It's possible that after some of the current work Ted has done with ICEfaces 2 and the new Portlet Bridge that some or all of the older portlet related issues are no longer relevant. Assigning to Ted to verify which can be closed and which may still need more work.
        Deryk Sinotte made changes -
        Assignee Deryk Sinotte [ deryk.sinotte ] Ted Goddard [ ted.goddard ]
        Hide
        Neil Griffin added a comment -

        Tested with ICEfaces 2.0 trunk revision 22133 and unfortunately it's still broken.

        Show
        Neil Griffin added a comment - Tested with ICEfaces 2.0 trunk revision 22133 and unfortunately it's still broken.
        Hide
        Ted Goddard added a comment -

        Modifed sample as follows:

        • updated to trunk ICEfaces 2.0 libraries
        • updated to trunk (BETA1) portletfaces-bridge libraries
        • fixed Resource Servlet servlet-class:

        <servlet>
        <servlet-name>Resource Servlet</servlet-name>
        <servlet-class>com.icesoft.faces.webapp.CompatResourceServlet</s
        ervlet-class>
        <load-on-startup>1</load-on-startup>
        </servlet>

        • changed applicant.xhtml to use hard-coded convertDateTime pattern:

        <f:convertDateTime pattern="MM/dd/yyyy" />

        Show
        Ted Goddard added a comment - Modifed sample as follows: updated to trunk ICEfaces 2.0 libraries updated to trunk (BETA1) portletfaces-bridge libraries fixed Resource Servlet servlet-class: <servlet> <servlet-name>Resource Servlet</servlet-name> <servlet-class>com.icesoft.faces.webapp.CompatResourceServlet</s ervlet-class> <load-on-startup>1</load-on-startup> </servlet> changed applicant.xhtml to use hard-coded convertDateTime pattern: <f:convertDateTime pattern="MM/dd/yyyy" />
        Hide
        Ted Goddard added a comment -

        Verified working on Liferay 6.0.4.

        Show
        Ted Goddard added a comment - Verified working on Liferay 6.0.4.
        Ted Goddard made changes -
        Attachment sample.war [ 12493 ]
        Hide
        Ted Goddard added a comment - - edited

        Assigning to Neil to verify attached sample.war. I do not observe any errors in Firefox with the latest binaries.

        Show
        Ted Goddard added a comment - - edited Assigning to Neil to verify attached sample.war. I do not observe any errors in Firefox with the latest binaries.
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Neil Griffin [ ngriffin7a ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Beta2 [ 10242 ]
        Fix Version/s 2.0.0 [ 10230 ]
        Hide
        Neil Griffin added a comment -

        Although I did not test the sample WAR, I incorporated Ted's comments into the Example JSF 2.0 Portlet at the portletfaces.org website and it's working great. This issue is resolved.

        Show
        Neil Griffin added a comment - Although I did not test the sample WAR, I incorporated Ted's comments into the Example JSF 2.0 Portlet at the portletfaces.org website and it's working great. This issue is resolved.
        Neil Griffin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2

          People

          • Assignee:
            Neil Griffin
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: