[ 
https://issues.apache.org/jira/browse/MYFACES-4347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17164498#comment-17164498
 ] 

Thomas Andraschko commented on MYFACES-4347:
--------------------------------------------

[~mulk] i refactored many code regarding scopes - it would be great if you can 
do some testing on trunk 
i will release the M4 in ~2 weeks

> FlowScoped assumed to be passivating, causing exception on Quarkus
> ------------------------------------------------------------------
>
>                 Key: MYFACES-4347
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4347
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Matthias Benkard
>            Priority: Major
>             Fix For: 2.3-next-M4
>
>
> Quarkus does not have passivation and its {{BeanManager#isPassivatingScope}} 
> implementation therefore always returns {{false}}. {{FlowScopeBeanHolder}} 
> ignores this and assumes that {{@FlowScoped}} is always passivating (which is 
> presumably true everywhere but Quarkus). This makes attempts to use 
> {{@FlowScoped}} beans fail with a {{ClassCastException}} during 
> {{ContextualStorage#getBeanKey}}'s attempt to cast the passed bean to 
> {{javax.enterprise.inject.spi.PassivationCapable}}.
> Proposed fix: [https://github.com/apache/myfaces/pull/110] 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to