[jira] [Updated] (OWB-935) wrong result of javax.enterprise.inject.Instance in combination with alternatives

2017-07-07 Thread Mark Struberg (JIRA)

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

Mark Struberg updated OWB-935:
--
Fix Version/s: (was: 1.7.4)

> wrong result of javax.enterprise.inject.Instance in combination with 
> alternatives
> -
>
> Key: OWB-935
> URL: https://issues.apache.org/jira/browse/OWB-935
> Project: OpenWebBeans
>  Issue Type: Bug
>  Components: Injection and Lookup
>Affects Versions: 1.2.2
>Reporter: Gerhard Petracek
>Assignee: Mark Struberg
> Fix For: 1.7.5
>
> Attachments: OWB-935.zip
>
>
> if the result of InjectionResolver#findByAlternatives is > 1 (for 
> InstanceImpl#iterator) and there is one alternative-bean in the result, beans 
> without alternative implementations aren't part of the result, because 
> alternativeSet only contains alternative beans - see:
> {code}
> if (containsAlternative)
> {
> return alternativeSet;
> }
> return enableSet;
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (OWB-935) wrong result of javax.enterprise.inject.Instance in combination with alternatives

2017-03-13 Thread Mark Struberg (JIRA)

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

Mark Struberg updated OWB-935:
--
Fix Version/s: (was: 1.7.2)
   1.7.3

> wrong result of javax.enterprise.inject.Instance in combination with 
> alternatives
> -
>
> Key: OWB-935
> URL: https://issues.apache.org/jira/browse/OWB-935
> Project: OpenWebBeans
>  Issue Type: Bug
>  Components: Injection and Lookup
>Affects Versions: 1.2.2
>Reporter: Gerhard Petracek
>Assignee: Mark Struberg
> Fix For: 1.7.3
>
> Attachments: OWB-935.zip
>
>
> if the result of InjectionResolver#findByAlternatives is > 1 (for 
> InstanceImpl#iterator) and there is one alternative-bean in the result, beans 
> without alternative implementations aren't part of the result, because 
> alternativeSet only contains alternative beans - see:
> {code}
> if (containsAlternative)
> {
> return alternativeSet;
> }
> return enableSet;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (OWB-935) wrong result of javax.enterprise.inject.Instance in combination with alternatives

2015-08-07 Thread Mark Struberg (JIRA)

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

Mark Struberg updated OWB-935:
--
Fix Version/s: 1.6.3

 wrong result of javax.enterprise.inject.Instance in combination with 
 alternatives
 -

 Key: OWB-935
 URL: https://issues.apache.org/jira/browse/OWB-935
 Project: OpenWebBeans
  Issue Type: Bug
  Components: Injection and Lookup
Affects Versions: 1.2.2
Reporter: Gerhard Petracek
Assignee: Mark Struberg
 Fix For: 1.6.3

 Attachments: OWB-935.zip


 if the result of InjectionResolver#findByAlternatives is  1 (for 
 InstanceImpl#iterator) and there is one alternative-bean in the result, beans 
 without alternative implementations aren't part of the result, because 
 alternativeSet only contains alternative beans - see:
 {code}
 if (containsAlternative)
 {
 return alternativeSet;
 }
 return enableSet;
 {code}



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