open62541-nodeset-loader
open62541-nodeset-loader copied to clipboard
Missing inverse references in companion specification
This issue is related to the loading of companion nodeset files into the OPC UA server (using open62541). The version of the UA-Nodeset tested:
- Repository: https://github.com/OPCFoundation/UA-Nodeset
- Branch: latest
- Commit: a2208e8
When nodes in a nodeset are missing inverse references to parent nodes, the following issues appear when trying to load the nodeset to the OPC UA Server:
- AddNode (NODE_ID): Parent node not found
- AddNode (NODE_ID): Reference type to the parent not found
The following UA-Nodes specifications have these issues:
While the nodesetLoader loads the nodeset without any critical errors, the problem is that the issued nodes are not browsable within the OPC UA address space (screenshot when testing the server with UAExpert):
The open62541 Pythod-based nodeset compiler handles these issues by assuming the reverse direction and always adding the inverse relation: nodeset_compiler.py:176. We should consider adding the same functionality within the nodesetLoader as well. Then these issues should be resolved.