You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the complex types loading takes longer than creating the subscriptions, the complex types are not decoded (complex type system is not available in the binary decoder).
To Reproduce
Steps to reproduce the behavior:
Connect OpcPublisher to an aggregation OPC UA server with many types
Create a dataset with complex types
Observe that complex types are still binary encoded
Expected behavior
Complex types should be decoded
Additional context
Currently we have a bugfix on our own by adding an await GetComplexTypeSystemAsync in the OpcUaSubscription.SyncWithSessionInternalAsync. This is kind of a hack since the ISession does not provide such a method call (we need to cast it to OpcUaSession).
You might find a better place to fix this. You can give us a hint where is the best place to fix it and we can create a PR if you want.
Describe the bug
If the complex types loading takes longer than creating the subscriptions, the complex types are not decoded (complex type system is not available in the binary decoder).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Complex types should be decoded
Additional context
Currently we have a bugfix on our own by adding an
await GetComplexTypeSystemAsync
in theOpcUaSubscription.SyncWithSessionInternalAsync
. This is kind of a hack since theISession
does not provide such a method call (we need to cast it to OpcUaSession).You might find a better place to fix this. You can give us a hint where is the best place to fix it and we can create a PR if you want.
image: mcr.microsoft.com/iotedge/opc-publisher:2.9.8
The text was updated successfully, but these errors were encountered: