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
However sending a data for a BuiltInType.Null field will keep the data and therefore ValueRank intact, instead of sending just null over MQTT. (I haven't checked if this is also the case for UADP)
This strikes me a bit inconsistant, is this intentional?
Expected Behavior
I'd expect when sending an array with two null elements to also be able to receive an (object-)array with two null elements. The sending side currently works, however the received UaNetworkMessage only contains a null scalar.
The usefulness of this may arguably be low, but it would offer more consistent behavior and not lose the sent information about array dimensions.
Type of issue
Current Behavior
Currently ValueRank for BuiltInType.Null fields gets ignored when decoding mqtt messages:
UA-.NETStandard/Libraries/Opc.Ua.PubSub/Encoding/JsonDataSetMessage.cs
Line 533 in 2b9d8f9
However sending a data for a BuiltInType.Null field will keep the data and therefore ValueRank intact, instead of sending just null over MQTT. (I haven't checked if this is also the case for UADP)
This strikes me a bit inconsistant, is this intentional?
Expected Behavior
I'd expect when sending an array with two null elements to also be able to receive an (object-)array with two null elements. The sending side currently works, however the received UaNetworkMessage only contains a null scalar.
The usefulness of this may arguably be low, but it would offer more consistent behavior and not lose the sent information about array dimensions.
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: