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

Disposal method from PushContextFactoryBean is missing @Push annotation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0-beta
    • None
    • None
    • myfaces-2.3.x, WebSphere Liberty

    Description

      Performing integration between JSF MyFaces 2.3 and CDI, I found that the PushContextFactoryBean class is missing the @Push annotation in the disposal method, that is, in the close() method. This results in the following exception:

      The exception message was: com.ibm.ws.container.service.state.StateChangeException: org.jboss.weld.exceptions.DefinitionException: WELD-001424: The following disposal methods were declared but did not resolve to a producer method:

      • Disposer method [[UnbackedAnnotatedMethod] public org.apache.myfaces.push.cdi.PushContextFactoryBean.close(@Disposes PushContext)]

      Adding the @Push annotation to the close method should solve this issue.

      Attachments

        1. MYFACES-4119.patch
          0.5 kB
          Eduardo Breijo

        Activity

          People

            lu4242 Leonardo Uribe
            eduardobreijo Eduardo Breijo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: