Skip to content

duplication of attribute in address_space._add_nodeattributes #1895

@lauler1

Description

@lauler1

Please read, before you post!

This is a BUG REPORT for issues in the existing code.

If you have general questions, code handling problems or ideas, please use the:

Discussionsboard: https://github.com/FreeOpcUa/opcua-asyncio/discussions
or

Gitter-Channel: https://gitter.im/FreeOpcUa/opcua-asyncio


To save some time, please provide us following informations, if possible:

Describe the bug

During code inspection of method _add_nodeattributes of class NodeManagementService of module asyncua/server/address_space, I noted the duplication of the addition of the attribute entry UserWriteMask on lines 561 and 564. I guess this is wrong.
I also noted the attributes RolePermissions, UserRolePermissions, AccessRestrictions and AccessLevelEx are missing.

To Reproduce

Code inspection

Version

Python-Version: Python 3.12.2
opcua-asyncio Version V1.1.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions