Closed pemartin2 closed 6 months ago
Thanks @pemartin2 for spotting this and the detailed analysis. You are right, UA_DataType
s should be compared by their typeId
. I just prepared a fix in #252. Can you verify if this works?
Hi @lukasberbuer. Thank you very much for the quick fix. I am a bit busy at the moment but will check as soon as I find some time.
Should be fixed with #252. Please reopen or comment if there are any remaining issues.
Confirmed to be fixed in my project's context.
Hi Lukas,
Found the following bug in the current implementation at least in master and v0.12.0.
The problem is that we compare addresses in this method and not values (not sure if it's valid to just compare the
typeId
here @lukasberbuer ?). If executed from different translation units this results in exception.Example code to reproduce: CMakeLists.txt
main.cpp
serverWrapper.hpp
serverWrapper.cpp
I think this regression was introduced by commit 43f4c392a9f8e35b7aa8b469c8bf8be7d9a5b70c