[
https://issues.apache.org/jira/browse/OWB-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506818#comment-14506818
]
Thomas Andraschko commented on OWB-1057:
----------------------------------------
+1 for a 1.2 release. I fixed 2 small bugs in our proxies which occurs with DS
partial beans.
> CDI Events using an interface not delivered
> -------------------------------------------
>
> Key: OWB-1057
> URL: https://issues.apache.org/jira/browse/OWB-1057
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.7
> Reporter: zt
> Assignee: Romain Manni-Bucau
> Fix For: 1.2.8, 1.5.0
>
> Attachments: owbtest.zip
>
>
> If using a CDI-event with interface:
> {code}
> public class MyEvent implements MyEventInterface
> {code}
> the fired Event:
> {code}
> @Inject
> private Event<MyEventInterface> event;
> public void fireEvent() {
> final MyEventInterface myEvent = new MyEvent();
> event.fire(myEvent);
> }
> {code}
> is NOT delivered to the event target:
> {code}
> public void observeEvent(@Observes final MyEvent event) {
> System.out.println("observed an event: " + event);
> eventCount++;
> }
> {code}
> The very same code is running fine with OWB 1.1.X but not in 1.2.X.
> Please see attached zip-file for more details.
> Run:
> mvn clean test => everything fine (OWB 1.1.8)
> mvn clean test -Powb12x => FAIL (OWB 1.2.7)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)