You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/15 03:24:59 UTC

[jira] [Commented] (CXF-7132) CDI Multi-app tests fail when classes have scope

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

ASF GitHub Bot commented on CXF-7132:
-------------------------------------

GitHub user johnament opened a pull request:

    https://github.com/apache/cxf/pull/195

    [CXF-7132] Use the original class when it comes to determining classe…

    …s for ResourceProvider usage.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/johnament/cxf CXF-7132

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/195.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #195
    
----
commit 6964968e9a43970290576f01f8634f8d892ebf03
Author: John D. Ament <jo...@apache.org>
Date:   2016-11-15T01:26:58Z

    [CXF-7132] Use the original class when it comes to determining classes for ResourceProvider usage.

----


> CDI Multi-app tests fail when classes have scope
> ------------------------------------------------
>
>                 Key: CXF-7132
>                 URL: https://issues.apache.org/jira/browse/CXF-7132
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.9
>            Reporter: John D. Ament
>             Fix For: 3.1.9
>
>
> The multi-app tests fail due how to instances are managed in proxyable environments.  When a normal scoped CDI Bean is used, the class is wrong.  CXF is referencing the real class and getting a per-request instance of a CdiResourceProvider based instance.  This causes fields to not be injected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)