[
https://issues.apache.org/jira/browse/MYFACES-4347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17164845#comment-17164845
]
Matthias Benkard commented on MYFACES-4347:
-------------------------------------------
[~tandraschko] I’ve tried out the latest master on my application and it worked
flawlessly.
> 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)