Skip to content

Conversation

@seveneleven
Copy link
Contributor

It's common, that OPC UA nodes appear in multiple positions of the tree. But
after they appeared once, they've been skipped for all other occurrences.

This is fixed now: Nodes will be listed, if they occur in different branches of
the tree. They will be ignored though, if they appear more than once on the
same branch. Also, if already found, they won't be updated by following
occurrences, assuming that nodes with the same ID will be the same entity.

@seveneleven seveneleven requested a review from a team December 2, 2025 11:13
@seveneleven seveneleven self-assigned this Dec 2, 2025
@seveneleven seveneleven added enhancement New feature or request bug Something isn't working labels Dec 2, 2025
This was referenced Dec 2, 2025
@seveneleven seveneleven force-pushed the fix-browsing-nodes branch 2 times, most recently from 22ecf20 to 4fd875c Compare December 2, 2025 13:59
@dbeuchler
Copy link
Member

@seveneleven Are all OpcUa-tests fixed with this PR? Maybe merge future into this branch. We weit for that in #830.

* It has a URI if URI (and namespace index) is set
* It has a namespace index, if no URI is set
* Namespace index is removed if `ns=0` (as it is the default)
It's common, that OPC UA nodes appear in multiple positions of the tree. But
after they appeared once, they've been skipped for all other occurrences.

This is fixed now: Nodes will be listed, if they occur in different branches of
the tree. They will be ignored though, if they appear more than once on the
same branch. Also, if already found, they won't be updated by following
occurrences, assuming that nodes with the same ID will be the same entity.
Used `CultureInfo.InvariantCulture` to parse culture independent.
* Unused variables/parameters
* Unnecessary usings
* ...
@seveneleven seveneleven force-pushed the fix-browsing-nodes branch 2 times, most recently from 7eae03a to 225535f Compare December 2, 2025 14:30
@seveneleven seveneleven requested a review from dbeuchler December 2, 2025 14:31
@seveneleven
Copy link
Contributor Author

@seveneleven Are all OpcUa-tests fixed with this PR? Maybe merge future into this branch. We weit for that in #830.

Yes, they are

@dbeuchler
Copy link
Member

@seveneleven Are all OpcUa-tests fixed with this PR? Maybe merge future into this branch. We weit for that in #830.

Yes, they are

nice!!

@seveneleven seveneleven requested a review from dbeuchler December 3, 2025 12:17
Copy link
Member

@1nf0rmagician 1nf0rmagician left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@seveneleven seveneleven merged commit ddbb8cb into future Dec 3, 2025
6 of 8 checks passed
@seveneleven seveneleven deleted the fix-browsing-nodes branch December 3, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants