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

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

1* I think no report an error. First of all, we configure everything as normal 
(I mean Bean2 specialized Bean1, Bean3 specialized Bean2). After that because 
Bean2 is not enabled therefore Bean1 and Bean3 must be. But, this is not more 
clearly defined in specification. Maybe I could look for TCK whether test exist 
like this or not

2* No. XML related codes will be removed from codebase after M4.


> 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