[ 
https://issues.apache.org/jira/browse/OWB-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834472#action_12834472
 ] 

Gurkan Erdogdu commented on OWB-284:
------------------------------------

Its true. I think that we must check enable status of specialized bean before 
we disable its super class. Some tweak is necessary in 
WebBeansUtil#configureSpecializations. Could you combine two patch if you are 
able to solve this issue?

Thanks;

> OWB could not find default bean if alternative specialized bean is not 
> enabled.
> -------------------------------------------------------------------------------
>
>                 Key: OWB-284
>                 URL: https://issues.apache.org/jira/browse/OWB-284
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Injection and Lookup
>    Affects Versions: M3
>            Reporter: YING WANG
>            Assignee: Gurkan Erdogdu
>         Attachments: owb284testcase.jar
>
>
> I have 2 managed beans: 
> @QualifierSpecialized Bus 
> @Alternative @Specializes public class SchoolBus extends Bus
> owb works fine when SchoolBus is enabled in bean.xml. However, if SchoolBus 
> is not enabled in bean.xml, owb could NOT locate Bus either.
> (test case will be uploaded later).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to