You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2020/07/05 08:47:00 UTC

[jira] [Resolved] (MYFACES-4347) FlowScoped assumed to be passivating, causing exception on Quarkus

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

Thomas Andraschko resolved MYFACES-4347.
----------------------------------------
    Resolution: Fixed

> 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)