Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatch logic of WatchService ignores overlaping listeners #36

Open
splatch opened this issue Oct 25, 2021 · 1 comment
Open

Dispatch logic of WatchService ignores overlaping listeners #36

splatch opened this issue Oct 25, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@splatch
Copy link
Contributor

splatch commented Oct 25, 2021

Report from @J-N-K

I just noticed that the OpenSmartHouse implementation has the same fault as the openHAB one: if a second Watchservice is registered for the same directory (or sub- or parent directory), the first one will not receive watch events.

Jan's fix for issue: https://github.com/smarthomej/addons/tree/3.1.x/bundles/org.smarthomej.commons/src/main/java/org/smarthomej/commons/service.

@splatch splatch added the bug Something isn't working label Oct 25, 2021
@cdjackson
Copy link
Contributor

I did see this discussed in the OH repo. I'm happy if we want to cherry pick this in to OSH now if someone needs this fix - otherwise we probably need to pull over some of the updates and it will get swept up there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants