Policy anounsments not working when connection is using namespace filtering
alstanchev opened this issue · comments
When a connection is subscribed to //policies/announcements?namespaces= the connection does not receive events with latest ditto version. If the namespace filter is removed events are received by the connection.
Strangely if the connection has two targets configured one with ns filtering and one without both publish the anouncement.
@thjaeckle i belive this is related to the latest pub-sub optimisations
That could be, yes ..
But don't we have system-tests for policy announcements? Maybe not with namespaces filter?
HI, @thjaeckle i'd apreciate a review. The change is very small.
There is also a PR in the tests with an additional test.