ICEfaces
  1. ICEfaces
  2. ICE-10255

ace:animation QA Test application failures

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0, EE-3.3.0.GA_P03
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: ACE-Components, QA
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk rev. 42590
      Browsers: all
      Server: Tomcat7.0.42

      Description

      The following issues have been found while reviewing the ace:animation QA test application:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/animation

      1) /animationDynAttribute.jsf
      Duration and iterations attributes don't appear to work.

      2) /animationDynAttribute.jsf
      Event attribute cannot be bound to a backing bean.
      As example, this works: <ace:animation event="click"/>; however using <ace:animation event="#{attributeBean.event}"/> throws a server error (HTTP Status 500 on page):

      Sep 19, 2014 2:55:01 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/animation] threw exception [/animationDynAttribute.xhtml @56,22 <ace:animation> The 'event' attribute for behavior tag must be a literal] with root cause
      javax.faces.view.facelets.FaceletException: /animationDynAttribute.xhtml @56,22 <ace:animation> The 'event' attribute for behavior tag must be a literal
          at com.sun.faces.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:344)
          at com.sun.faces.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:723)
          at com.sun.faces.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:194)
          at com.sun.faces.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:121)
          at com.sun.faces.facelets.compiler.TextUnit.createFaceletHandler(TextUnit.java:117)
          at com.sun.faces.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:115)
          at com.sun.faces.facelets.compiler.NamespaceUnit.createFaceletHandler(NamespaceUnit.java:82)
          at com.sun.faces.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:115)
          at com.sun.faces.facelets.compiler.CompilationUnit.createFaceletHandler(CompilationUnit.java:106)
          at com.sun.faces.facelets.compiler.CompilationManager.createFaceletHandler(CompilationManager.java:381)
          at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:468)
          at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:430)
          at com.sun.faces.facelets.compiler.Compiler.compile(Compiler.java:124)
          at com.sun.faces.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:481)
          at com.sun.faces.facelets.impl.DefaultFaceletFactory.access$100(DefaultFaceletFactory.java:106)
          at com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:199)
          at com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:197)
          at com.sun.faces.facelets.impl.DefaultFaceletCache$1.newInstance(DefaultFaceletCache.java:86)
          at com.sun.faces.facelets.impl.DefaultFaceletCache$1.newInstance(DefaultFaceletCache.java:81)
          at com.sun.faces.util.ExpiringConcurrentCache$1.call(ExpiringConcurrentCache.java:99)
          at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          at com.sun.faces.util.ExpiringConcurrentCache.get(ExpiringConcurrentCache.java:114)
          at com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:124)
          at com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:63)
          at com.sun.faces.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:295)
          at com.sun.faces.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:239)
          at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:984)
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
          at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.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:744)


      3) /easings.jsf, /preDefined.jsf, /jsfComps.jsf, /simpleHighlight.jsf (demos using the 'easing' attribute)
      A browser console error occurs when clicking inside an h:inputText with ace:animation using 'easing' attribute.

      Chrome:
      Uncaught TypeError: undefined is not a function ace-jquery.js.jsf?ln=icefaces.ace&v=4_0_0_140919:133

      Firefox:
      TypeError: k.easing[this.easing] is not a function
      http://localhost:8080/animation/javax.faces.resource/util/ace-jquery.js.jsf?ln=icefaces.ace&v=4_0_0_140919
      Line 133

      IE10:
      Message: Object doesn't support property or method 'easeBoth'
      Line: 133
      Char: 235
      Code: 0
      URI: http://localhost:8080/animation/javax.faces.resource/util/ace-jquery.js.jsf?ln=icefaces.ace&v=4_0_0_140919


      4) /calendarEffect.jsf, /tabsetEffect.jsf:
      A server error occurs when trying to access any of these pages:

      Sep 19, 2014 5:10:08 PM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/animation] threw exception [/calendarEffect.xhtml @18,55 <ace:animation> Event is not supported by this component DateTimeEntry] with root cause
      javax.faces.view.facelets.TagException: /calendarEffect.xhtml @18,55 <ace:animation> Event is not supported by this component DateTimeEntry
      at org.icefaces.ace.component.animation.AnimationBehaviorHandler.apply(AnimationBehaviorHandler.java:73)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:203)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:203)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:203)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
      at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:990)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49687 Wed Dec 14 15:32:01 MST 2016 mircea.toma ICE-10255 Avoid starting an effect while another one is still running.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/animation/animation.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49686 Wed Dec 14 14:18:28 MST 2016 mircea.toma ICE-10255 Specified the limitations of the 'event' attribute in the Javadoc.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/animation/AnimationBehaviorHandlerMeta.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49674 Mon Dec 12 16:46:07 MST 2016 mircea.toma ICE-10255 Set the required source ID of the form submit.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datetimeentry/datetimeentry.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49673 Mon Dec 12 16:43:23 MST 2016 mircea.toma ICE-10255 Remove semicolon at the end of client behaviour script.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/animation/AnimationBehavior.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49672 Mon Dec 12 16:10:29 MST 2016 mircea.toma ICE-10255 Fix animation client-side configuration. Remove redundant save/restore for the animation parameters.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/animation/AnimationBehavior.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/animation/animation.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: