Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk rev. 42635
      Browser: all
      Server: Tomcat 7.0.42
    • Assignee Priority:
      P2

      Description

      QA test app: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/list

      1) Test page: /listRows.jsf
      The following ace:list attributes don't work:
      - rows
      - rowIndex
      - first

      This page has an ace:list component with 9 list items, and the attributes are statically defined: rows="3", first="2", rowIndex="3"; these attributes don't appear to affect how the list component is rendered on page.

      2) Test page: /listDynAttribute.jsf
      Failing attributes:
      - controlsItemClass: the default 'ui-state-default ui-corner-all' class is not being applied to the div surrounding the individual reordering icons.
      - controlsSpacerClass/ headerClass / footerClass: when updating any of these attributes, the update is not visible on page.
      - dragging: list items can still be dragged after disabling this attribute. The 'controlsEnabled' attribute must be switched on or off to disable items dragging.

      3) Test page: /listSelectionListenerTest.jsf
      - selectionListener - seems to be broken.


      4) TLD doc possible error:
      - selections: the name of the attribute in the TLD doc is 'selections', of type java.util.Set; however the showcase application > Drag & Drop demo uses 'selection' of type boolean on the ace:list components .Which one is correct?

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Affects Version/s 4.0 [ 11382 ]
        Carmen Cristurean made changes -
        Fix Version/s 4.0 [ 11382 ]
        Carmen Cristurean made changes -
        Affects Version/s 4.0.BETA [ 10770 ]
        Affects Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Carmen Cristurean made changes -
        Description The following ace:list attributes don't work:
        - rows
        - rowIndex
        - first

        QA test app: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/list

        Test page: /listRows.jsf
        This page has an ace:list component with 9 list items, and the attributes are statically defined: rows="3", first="2", rowIndex="3"; these attributes don't appear to affect how the list component is rendered on page.

        QA test app: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/list

        1) Test page: /listRows.jsf
        The following ace:list attributes don't work:
        - rows
        - rowIndex
        - first

        This page has an ace:list component with 9 list items, and the attributes are statically defined: rows="3", first="2", rowIndex="3"; these attributes don't appear to affect how the list component is rendered on page.

        2) Test page: /listDynAttribute.jsf
        Failing attributes:
        - controlsItemClass: the default 'ui-state-default ui-corner-all' class is not being applied to the div surrounding the individual reordering icons.
        - controlsSpacerClass/ headerClass / footerClass: when updating any of these attributes, the update is not visible on page.
        - dragging: list items can still be dragged after disabling this attribute. The 'controlsEnabled' attribute must be switched on or off to disable items dragging.

        3) Test page: /listSelectionListenerTest.jsf
        - selectionListener - seems to be broken.


        4) TLD doc possible error:
        - selections: the name of the attribute in the TLD doc is 'selections', of type java.util.Set; however the showcase application > Drag & Drop demo uses 'selection' of type boolean on the ace:list components .Which one is correct?
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
        Fix Version/s 4.1 [ 11375 ]
        Affects Version/s 4.0 [ 11382 ]
        Affects Version/s 4.0.BETA [ 10770 ]
        Assignee Priority P2 [ 10011 ]
        Hide
        Ken Fyten added a comment -

        Liana reports:

        All issues still failing as of r43843

        Show
        Ken Fyten added a comment - Liana reports: All issues still failing as of r43843
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43861 Mon Dec 22 14:37:37 MST 2014 mircea.toma ICE-10277 Modified renderer to iterate and render over its children that have their index higher that 'first' value and lower than 'first + rows' value.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListRenderer.java
        Hide
        Mircea Toma added a comment -

        1) Modified renderer to iterate and render over its children that have their index higher or equal that first value and lower than first + rows value. The rowIndex attribute doesn't look like it should have a visual impact since it's just used as a cursor in the backing data model.

        Show
        Mircea Toma added a comment - 1) Modified renderer to iterate and render over its children that have their index higher or equal that first value and lower than first + rows value. The rowIndex attribute doesn't look like it should have a visual impact since it's just used as a cursor in the backing data model.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43862 Mon Dec 22 14:53:37 MST 2014 mircea.toma ICE-10277 Use data model's row count when the 'rows' attribute is not defined.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43863 Mon Dec 22 15:41:18 MST 2014 mircea.toma ICE-10277 Fixed control spacer CSS class rendering.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/list/ListRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43864 Tue Dec 23 06:40:14 MST 2014 mircea.toma ICE-10277 Disable dragging explicitly for the list elements.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Hide
        Mircea Toma added a comment -

        2) Fixed control spacer CSS class rendering. Also added header and footer facets to the component so that style changes are visible. Disabled dragging explicitly for list elements.

        Show
        Mircea Toma added a comment - 2) Fixed control spacer CSS class rendering. Also added header and footer facets to the component so that style changes are visible. Disabled dragging explicitly for list elements.
        Hide
        Mircea Toma added a comment -

        3) Added 'select' behaviour to ace:list in order to post-back the selection state.

        Show
        Mircea Toma added a comment - 3) Added 'select' behaviour to ace:list in order to post-back the selection state.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43865 Tue Dec 23 07:32:31 MST 2014 mircea.toma ICE-10277 Removed unused 'selection' attribute.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/list/listDrag.xhtml
        Hide
        Mircea Toma added a comment -

        4) The selection attribute is not used, selections refers correctly to the set of objects that are selected in the ace:list component. Removed unused selection attribute from the listDrag.xhtml page.

        Show
        Mircea Toma added a comment - 4) The selection attribute is not used, selections refers correctly to the set of objects that are selected in the ace:list component. Removed unused selection attribute from the listDrag.xhtml page.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Tested with ICEfaces 4 trunk r43866. Tomcat 7.
        Reopening for 2 issues:
        1.) /listDynAttribute.jsf
        placeholder and placeholderClass seem to have no impact on the component.

        2.) /listRows.jsf . When submitting a selection the following error is seen on the page:
        JSON Array[0] is not a number.
        class org.icefaces.ace.json.JSONException.
        Server error:
        WARNING: org.icefaces.ace.json.JSONException: JSONArray[0] is not a number.
        javax.faces.FacesException: org.icefaces.ace.json.JSONException: JSONArray[0] is
        not a number.
        at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java
        :91)
        at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:831
        )
        at org.icefaces.impl.component.UISeriesBase.processDecodes(UISeriesBase.
        java:523)
        at javax.faces.component.UIForm.processDecodes(UIForm.java:225)
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1221)
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1221)
        at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:929)
        at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV
        aluesPhase.java:78)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
        alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
        alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
        torBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
        ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
        ava:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
        953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
        ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
        a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
        11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
        AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
        t.java:1852)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
        java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
        .java:615)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: org.icefaces.ace.json.JSONException: JSONArray[0] is not a number.
        at org.icefaces.ace.json.JSONArray.getDouble(JSONArray.java:308)
        at org.icefaces.ace.json.JSONArray.getInt(JSONArray.java:325)
        at org.icefaces.ace.component.list.ListDecoder.processSelections(ListDec
        oder.java:49)
        at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java
        :74)
        ... 26 more

        Dec 23, 2014 11:01:14 AM org.icefaces.impl.application.ExtendedExceptionHandler
        handle
        WARNING: queued exception
        javax.faces.FacesException: org.icefaces.ace.json.JSONException: JSONArray[0] is
        not a number.
        at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV
        aluesPhase.java:86)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
        alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
        alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
        torBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
        ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
        ava:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
        953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
        ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
        a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
        11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
        AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
        t.java:1852)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
        java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
        .java:615)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: javax.faces.FacesException: org.icefaces.ace.json.JSONException: JSON
        Array[0] is not a number.
        at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java
        :91)
        at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:831
        )
        at org.icefaces.impl.component.UISeriesBase.processDecodes(UISeriesBase.
        java:523)
        at javax.faces.component.UIForm.processDecodes(UIForm.java:225)
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1221)
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1221)
        at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:929)
        at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV
        aluesPhase.java:78)
        ... 19 more
        Caused by: org.icefaces.ace.json.JSONException: JSONArray[0] is not a number.
        at org.icefaces.ace.json.JSONArray.getDouble(JSONArray.java:308)
        at org.icefaces.ace.json.JSONArray.getInt(JSONArray.java:325)
        at org.icefaces.ace.component.list.ListDecoder.processSelections(ListDec
        oder.java:49)
        at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java
        :74)
        ... 26 more

        Dec 23, 2014 11:01:14 AM com.sun.faces.context.AjaxExceptionHandlerImpl handlePa
        rtialResponseError
        SEVERE: org.icefaces.ace.json.JSONException: JSONArray[0] is not a number.
        at org.icefaces.ace.json.JSONArray.getDouble(JSONArray.java:308)
        at org.icefaces.ace.json.JSONArray.getInt(JSONArray.java:325)
        at org.icefaces.ace.component.list.ListDecoder.processSelections(ListDec
        oder.java:49)
        at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java
        :74)
        at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:831
        )
        at org.icefaces.impl.component.UISeriesBase.processDecodes(UISeriesBase.
        java:523)
        at javax.faces.component.UIForm.processDecodes(UIForm.java:225)
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1221)
        at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.
        java:1221)
        at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:929)
        at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV
        aluesPhase.java:78)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
        icationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
        ilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
        alve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
        alve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
        torBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
        ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
        ava:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
        953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
        ve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
        a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
        11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
        AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
        t.java:1852)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
        java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
        .java:615)
        at java.lang.Thread.run(Thread.java:745)

        Show
        Liana Munroe added a comment - Tested with ICEfaces 4 trunk r43866. Tomcat 7. Reopening for 2 issues: 1.) /listDynAttribute.jsf placeholder and placeholderClass seem to have no impact on the component. 2.) /listRows.jsf . When submitting a selection the following error is seen on the page: JSON Array [0] is not a number. class org.icefaces.ace.json.JSONException. Server error: WARNING: org.icefaces.ace.json.JSONException: JSONArray [0] is not a number. javax.faces.FacesException: org.icefaces.ace.json.JSONException: JSONArray [0] is not a number. at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java :91) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:831 ) at org.icefaces.impl.component.UISeriesBase.processDecodes(UISeriesBase. java:523) at javax.faces.component.UIForm.processDecodes(UIForm.java:225) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1221) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1221) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:929) at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV aluesPhase.java:78) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin t.java:1852) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.icefaces.ace.json.JSONException: JSONArray [0] is not a number. at org.icefaces.ace.json.JSONArray.getDouble(JSONArray.java:308) at org.icefaces.ace.json.JSONArray.getInt(JSONArray.java:325) at org.icefaces.ace.component.list.ListDecoder.processSelections(ListDec oder.java:49) at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java :74) ... 26 more Dec 23, 2014 11:01:14 AM org.icefaces.impl.application.ExtendedExceptionHandler handle WARNING: queued exception javax.faces.FacesException: org.icefaces.ace.json.JSONException: JSONArray [0] is not a number. at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV aluesPhase.java:86) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin t.java:1852) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:615) at java.lang.Thread.run(Thread.java:745) Caused by: javax.faces.FacesException: org.icefaces.ace.json.JSONException: JSON Array [0] is not a number. at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java :91) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:831 ) at org.icefaces.impl.component.UISeriesBase.processDecodes(UISeriesBase. java:523) at javax.faces.component.UIForm.processDecodes(UIForm.java:225) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1221) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1221) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:929) at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV aluesPhase.java:78) ... 19 more Caused by: org.icefaces.ace.json.JSONException: JSONArray [0] is not a number. at org.icefaces.ace.json.JSONArray.getDouble(JSONArray.java:308) at org.icefaces.ace.json.JSONArray.getInt(JSONArray.java:325) at org.icefaces.ace.component.list.ListDecoder.processSelections(ListDec oder.java:49) at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java :74) ... 26 more Dec 23, 2014 11:01:14 AM com.sun.faces.context.AjaxExceptionHandlerImpl handlePa rtialResponseError SEVERE: org.icefaces.ace.json.JSONException: JSONArray [0] is not a number. at org.icefaces.ace.json.JSONArray.getDouble(JSONArray.java:308) at org.icefaces.ace.json.JSONArray.getInt(JSONArray.java:325) at org.icefaces.ace.component.list.ListDecoder.processSelections(ListDec oder.java:49) at org.icefaces.ace.component.list.ListRenderer.decode(ListRenderer.java :74) at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:831 ) at org.icefaces.impl.component.UISeriesBase.processDecodes(UISeriesBase. java:523) at javax.faces.component.UIForm.processDecodes(UIForm.java:225) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1221) at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase. java:1221) at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:929) at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestV aluesPhase.java:78) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin t.java:1852) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:615) at java.lang.Thread.run(Thread.java:745)
        Liana Munroe made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43869 Fri Dec 26 14:03:04 MST 2014 mircea.toma ICE-10277 Fixed placeholder styling.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43870 Fri Dec 26 14:14:51 MST 2014 mircea.toma ICE-10277 Fixed ice.ace.List.prototype.getUnshiftedIndex function to work even when no reordering has been applied to the list.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Hide
        Mircea Toma added a comment - - edited

        1) Fixed placeholder styling.

        2) Fixed ice.ace.List.prototype.getUnshiftedIndex function to work even when no reordering has been applied to the list.

        Show
        Mircea Toma added a comment - - edited 1) Fixed placeholder styling. 2) Fixed ice.ace.List.prototype.getUnshiftedIndex function to work even when no reordering has been applied to the list.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces4 trunk r43872. Tomcat 7, IE 11, FF 34, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces4 trunk r43872. Tomcat 7, IE 11, FF 34, Chrome 39.
        Hide
        Carmen Cristurean added a comment -

        IF4 trunk rev. 43887 and 43871:

        showcase > list > Drag & Drop:
        Demo is not functional (all browsers):
        1) on the upper demo, after dragging an item, the change is not submitted;
        2) on the "Two-Way Drag Migrations demo, the items cannot be dragged between the 2 panels; only dragging inside the same panel works.

        No such issues on rev. 43858, prior to the commits for this JIRA.

        Show
        Carmen Cristurean added a comment - IF4 trunk rev. 43887 and 43871: showcase > list > Drag & Drop: Demo is not functional (all browsers): 1) on the upper demo, after dragging an item, the change is not submitted; 2) on the "Two-Way Drag Migrations demo, the items cannot be dragged between the 2 panels; only dragging inside the same panel works. No such issues on rev. 43858, prior to the commits for this JIRA.
        Carmen Cristurean made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43897 Mon Jan 12 18:35:27 MST 2015 mircea.toma ICE-10277 Wired jQuery's 'start', 'stop' and 'receive' callbacks to the sortable container. Also enabled 'connectWith' property on sortable container.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Hide
        Mircea Toma added a comment -

        Wired jQuery's 'start', 'stop' and 'receive' callbacks to the sortable container. Also enabled 'connectWith' property on sortable container. See http://api.jqueryui.com/sortable/ .

        Show
        Mircea Toma added a comment - Wired jQuery's 'start', 'stop' and 'receive' callbacks to the sortable container. Also enabled 'connectWith' property on sortable container. See http://api.jqueryui.com/sortable/ .
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Carmen Cristurean added a comment -

        Testing results with IF4 trunk r. 43899, browsers: FF34, IE11, CHrome39:
        showcase > ace:list > Drag & Drop demo issue has been resolved.

        ace:list QA test application > /listDynAttribute.jsf test fails.
        A JS error occurs when selecting placeholderClass=customStyle and clicking on a list item to drag it.

        Firefox34:
        TypeError: options.connectWith is undefined
        http://localhost:8080/list/javax.faces.resource/util/ace-jquery-ui.uncompressed.js.jsf?ln=icefaces.ace&v=4_1_0_150113
        Line 3827

        IE11:
        SCRIPT5007: Unable to get property 'constructor' of undefined or null reference
        File: ace-jquery-ui.uncompressed.js.jsf, Line: 3827, Column: 13

        Steps:

        Show
        Carmen Cristurean added a comment - Testing results with IF4 trunk r. 43899, browsers: FF34, IE11, CHrome39: showcase > ace:list > Drag & Drop demo issue has been resolved. ace:list QA test application > /listDynAttribute.jsf test fails. A JS error occurs when selecting placeholderClass=customStyle and clicking on a list item to drag it. Firefox34: TypeError: options.connectWith is undefined http://localhost:8080/list/javax.faces.resource/util/ace-jquery-ui.uncompressed.js.jsf?ln=icefaces.ace&v=4_1_0_150113 Line 3827 IE11: SCRIPT5007: Unable to get property 'constructor' of undefined or null reference File: ace-jquery-ui.uncompressed.js.jsf, Line: 3827, Column: 13 Steps: build/deploy the app from: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/list load the /listDynAttribute.jsf page in any browser. select selectionMode=single, and placeHolderClass=customStyle. click on a list item -> JS error.
        Carmen Cristurean made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43907 Wed Jan 14 15:12:15 MST 2015 mircea.toma ICE-10277 Add 'connectWith' option to the sortable list only if its value is defined.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/list/list.js
        Hide
        Mircea Toma added a comment -

        Add 'connectWith' option to the sortable JS object only if its value is defined

        Show
        Mircea Toma added a comment - Add 'connectWith' option to the sortable JS object only if its value is defined
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces4 trunk r43909. Tomcat 7, IE 11, FF 34, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces4 trunk r43909. Tomcat 7, IE 11, FF 34, Chrome 39.
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: