Open
Description
Describe the bug
When creating a Server, some of the ReferenceTypes in the Base Information Model have wrong attribute values.
The attributes isAbstract and Symmetric are not consistently set correctly. This is because the default values are set to True for both, even though they should be set to False for both.
These dafault attributes are set in ua/uaprotocol_auto.py
Lines: 6258, 6259
data_type = NodeId(ObjectIds.ReferenceTypeAttributes)
SpecifiedAttributes: UInt32 = 0
DisplayName: LocalizedText = field(default_factory=LocalizedText)
Description: LocalizedText = field(default_factory=LocalizedText)
WriteMask: UInt32 = 0
UserWriteMask: UInt32 = 0
isAbstract: Boolean = True
Symmetric: Boolean = True
InverseName: LocalizedText = field(default_factory=LocalizedText)
To Reproduce
Run the Example Server and a use Client to inspect the Reference "organizes" for example.
According to the OPC UA specification, both isAbstract and Symmetric should be false.
Version
Python-Version: 3.10.7
opcua-asyncio Version (e.g. master branch, 0.9): 1.1.6
Metadata
Metadata
Assignees
Labels
No labels