fix(server): Problems with event subscription in reduced namespace #6298
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
we are currently trying to integrate version 1.4.0-rc2 (from 1.3.6). If we subscribe to the EventSource in the UAExpert (v1.7.1) now, the Tool returns an error "Item 0 failed with error BadTypeDefinitionInvalid." and cancel the event subscription.
This also happens in the example project (tutorial_server_events).
We use the REDUCED namespace, if we switch to the FULL namespace the event subscription works but this is not an option for us.
If we adjust the order of the clause validation in the ua_subscription_events_filter.c (like in 1.3.6) the event subscription works again.