[jira] [Updated] (MYFACES-4119) Disposal method from PushContextFactoryBean is missing @Push annotation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Updated] (MYFACES-4119) Disposal method from PushContextFactoryBean is missing @Push annotation

My Faces - Dev mailing list

     [ https://issues.apache.org/jira/browse/MYFACES-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe updated MYFACES-4119:
------------------------------------
       Resolution: Fixed
         Assignee: Leonardo Uribe
    Fix Version/s: 2.3.0
           Status: Resolved  (was: Patch Available)

Thanks to Eduardo Breijo for provide this patch

> Disposal method from PushContextFactoryBean is missing @Push annotation
> -----------------------------------------------------------------------
>
>                 Key: MYFACES-4119
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4119
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: myfaces-2.3.x, WebSphere Liberty
>            Reporter: Eduardo Breijo
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: MYFACES-4119.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Loading...