Re: Question about @Reference Karaf Command annotation

2020-07-16 Thread Jean-Baptiste Onofre
Hi guys, Thanks for the Jira. I did some cleanup (we had two Jira for the same thing) and I already started to work on a fix. Regards JB > Le 16 juil. 2020 à 15:52, Paul Spencerx a écrit : > > Alex, > I have created the following Jira. Please note the Jira describes the > behavior and

Re: Question about @Reference Karaf Command annotation

2020-07-16 Thread Paul Spencerx
Alex, I have created the following Jira. Please note the Jira describes the behavior and references this thread. You may add information regarding the suspected root cause. https://issues.apache.org/jira/browse/KARAF-6790 Paul Spencer > On Jul 16, 2020, at 8:50 AM, Alex Soto wrote: > >

Re: Question about @Reference Karaf Command annotation

2020-07-16 Thread Paul Spencer
Alex, I have created the following Jira. Please note the Jira describes the behavior and references this thread. You may add information regarding the suspected root cause. https://issues.apache.org/jira/browse/KARAF-6790 Paul Spencer > On Jul 16, 2020, at 8:50 AM, Alex Soto wrote: > > I

Re: Question about @Reference Karaf Command annotation

2020-07-16 Thread Alex Soto
I also believe there is a bug here; I had pasted in a previous post the part of the code I suspect is at fault. Best regards, Alex soto > On Jul 16, 2020, at 6:26 AM, João Assunção > wrote: > > Paul, > you are right. I think there is a bug in the implementation of > SingleServiceTracker

Re: Question about @Reference Karaf Command annotation

2020-07-16 Thread João Assunção
Paul, you are right. I think there is a bug in the implementation of SingleServiceTracker used to bind service references in commands. The filter is used for the listener but is ignored when retrieving the serviceReference. For example: If the command starts and the services are available, it