ICEfaces
  1. ICEfaces
  2. ICE-10955

showcase-portlet - browser console errors

    Details

    • Assignee Priority:
      P2

      Description

      Showcase-portlet:

      1) Chart > Export
      An error occurs in browser console when adding the Chart Export demo to the page, and the button to download chart is not rendered.
      Issue reproduced also with EE-4.0.0.

      FF41:
      TypeError: ice.ace.instance(...) is null
      http://localhost:8080/web/guest/ice01
      Line 4

      IE11:
      Unable to get property 'exportToServer' of undefined or null reference

      Chrome48:
      Uncaught TypeError: Cannot read property 'exportToServer' of null(anonymous function) @ ice01:4

      2) DataTable > Selection demo: similar errors seen when selectionMode=*Multiple and clicking the "Select All" or "Unselect All" buttons.
      This is new functionality on this demo, added after EE-4.0.0 has been released.

      FF41:
      TypeError: ice.ace.instance(...) is null
      http://localhost:8080/web/guest/ice01
      Line 1

      IE11:
      Unable to get property 'selectAllRows' of undefined or null reference

      Chrome48:
      Uncaught TypeError: Cannot read property 'selectAllRows' of null

        Activity

        Hide
        Arturo Zambrano added a comment -

        r48560: added component bindings to obtain the client ids that are referenced in client-side functions, in order to account for the portlets id formats

        Show
        Arturo Zambrano added a comment - r48560: added component bindings to obtain the client ids that are referenced in client-side functions, in order to account for the portlets id formats
        Hide
        Carmen Cristurean added a comment - - edited

        Verified ICEfaces4 trunk r48562 on IE11, Chrome49, FF41/ liferay-portal-6.2-ce-ga3 w/ Tomcat7.0.42.

        Note: when adding the 'Chart - Export' portlet to the page, two identical warnings are written in the terminal log; are they an issue?

        17:09:33,617 WARN [ExternalContextCompat_2_0_Impl:96] Unable to call portletResponse.addProperty(String, String) for portletResponse=[com.liferay.faces.bridge.filter.internal.RenderResponseBridgeLiferayImpl] because it is not a ResourceResponse.

        Show
        Carmen Cristurean added a comment - - edited Verified ICEfaces4 trunk r48562 on IE11, Chrome49, FF41/ liferay-portal-6.2-ce-ga3 w/ Tomcat7.0.42. Note: when adding the 'Chart - Export' portlet to the page, two identical warnings are written in the terminal log; are they an issue? 17:09:33,617 WARN [ExternalContextCompat_2_0_Impl:96] Unable to call portletResponse.addProperty(String, String) for portletResponse= [com.liferay.faces.bridge.filter.internal.RenderResponseBridgeLiferayImpl] because it is not a ResourceResponse.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: