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

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Fix Version/s EE-4.1.0.GA [ 12171 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Assignee Priority P2 [ 10011 ]
        Carmen Cristurean made changes -
        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.

        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
        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
        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
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48560 Thu Mar 24 11:17:32 MDT 2016 art.zambrano ICE-10955 added component bindings to obtain the client ids that are referenced in client-side functions, in order to account for the portlets id formats
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/chart/chartExport.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dataTable/dataTableSelector.xhtml
        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.
        Ken Fyten made changes -
        Fix Version/s EE-4.1.0.BETA [ 13072 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Fix Version/s 4.2 [ 12870 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: