cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7132) CDI Multi-app tests fail when classes have scope
Date Wed, 16 Nov 2016 02:15:59 GMT

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

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

GitHub user johnament opened a pull request:

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

    [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-solo

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

    https://github.com/apache/cxf/pull/197.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 #197
    
----
commit 6964968e9a43970290576f01f8634f8d892ebf03
Author: John D. Ament <johndament@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)

Mime
View raw message