Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4486

TCK: Spec Issue 4313 <f:validateWholeBean/> failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-RC1, 2.3.9, 2.3-next-M7, 3.0.2, 4.0.0-RC2
    • 2.3.11, 3.0.3, 2.3-next-M8, 4.0.0-RC3
    • General
    • None

    Description

      The following TCK test fails for MyFaces: https://github.com/jakartaee/faces/blob/4.0.1/tck/faces23/validateWholeBean/src/test/java/ee/jakarta/tck/faces/test/javaee8/validateWholeBean/Issue4313IT.java#L81

      App: https://github.com/jakartaee/faces/blob/4.0.1/tck/faces23/validateWholeBean/src/main/webapp/Issue4313.xhtml

      The test is for the following specification issue: https://github.com/eclipse-ee4j/mojarra/issues/4313

      The following exception occurs:

       

      Stack Dump = jakarta.servlet.ServletException: jakarta.el.ELException: Cannot convert [WholeBeanValidator] of type [class java.lang.String] to [class ee.jakarta.tck.faces.test.javaee8.validateWholeBean.User]
          at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:255)
          at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1258)
          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:746)
          at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1227)
          at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1011)
          at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:75)
          at com.ibm.ws.webcontainer40.servlet.CacheServletWrapper40.handleRequest(CacheServletWrapper40.java:85)
          at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:938)
          at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:281)
          at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1246)
          at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:468)
          at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:427)
          at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:567)
          at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:501)
          at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:361)
          at com.ibm.ws.http.channel.internal.inbound.HttpICLReadCallback.complete(HttpICLReadCallback.java:70)
          at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:514)
          at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:584)
          at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:968)
          at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1057)
          at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:245)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at java.base/java.lang.Thread.run(Thread.java:866)
      Caused by: org.apache.myfaces.view.facelets.el.ContextAwareELException: jakarta.el.ELException: Cannot convert [WholeBeanValidator] of type [class java.lang.String] to [class ee.jakarta.tck.faces.test.javaee8.validateWholeBean.User]
          at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.setValue(ContextAwareTagValueExpression.java:166)
          at jakarta.faces.component.UIInput.updateModel(UIInput.java:403)
          at jakarta.faces.component.UIInput.processUpdates(UIInput.java:351)
          at jakarta.faces.component.UIForm.processUpdates(UIForm.java:250)
          at jakarta.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1427)
          at jakarta.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1427)
          at jakarta.faces.component.UIViewRoot._processUpdatesDefault(UIViewRoot.java:1741)
          at jakarta.faces.component.UIViewRoot$UpdateModelPhaseProcessor.process(UIViewRoot.java:1881)
          at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1702)
          at jakarta.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:967)
          at org.apache.myfaces.lifecycle.UpdateModelValuesExecutor.execute(UpdateModelValuesExecutor.java:39)
          at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:172)
          at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:125)
          at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:223)
          ... 24 more
      Caused by: jakarta.el.ELException: Cannot convert [WholeBeanValidator] of type [class java.lang.String] to [class ee.jakarta.tck.faces.test.javaee8.validateWholeBean.User]
          at org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:561)
          at org.apache.el.parser.AstValue.setValue(AstValue.java:203)
          at org.apache.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:263)
          at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.setValue(ContextAwareTagValueExpression.java:153)
          ... 37 more 

       

       

       

      Attachments

        Activity

          People

            paul.nicolucci Paul Nicolucci
            paul.nicolucci Paul Nicolucci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: