-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove expanded flag when return Nodes or NodeID #619
Conversation
I think this is the reason for #550. |
@kung-foo @magiconair Please review |
I think I took a look at this a few years ago. See #200 (comment) The reason I never merged it was because I am reluctant to just internally clear flags. I would need to know that that there is never a case where the flags should be set. |
@kung-foo
where
if n.ID with ServerIndex flag.The nodeID Encode method writes the mask directly to it, which sends an incorrect ReadRequest
In the browse example, the error occurs as follows:
An incorrect ReadRequest was sent |
I think if the return contains NodeID but not ExpandedNodeID, then the expanded flag of NodeID should be cleared |
@magiconair @kung-foo Is this pull request rejected? |
maybe you can use prosysopc simulator to try to browse |
@huskar-t These changes can take time to merge since we have very few e2e integration tests to verify that this doesn't break expected behavior. I don't have much time this week, but will probably get a chance next week. |
@kung-foo Any progress? |
@magiconair @kung-foo If there are any issues or concerns about my code, please do not hesitate to let me know. I am happy to work on any necessary changes or improvements to get it merged. |
Fixed in #683 |
when returning Nodes or NodeID there is no longer NamespaceURI and ServerIndex information so the expanded flag should be removed