Skip to content
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

IOP: Loading complex may throw BadNothingTodo exception if DataTypeDictionary nodes are not populated #2600

Open
1 of 5 tasks
mregen opened this issue Apr 27, 2024 · 0 comments
Labels
Pending Feedback Pending on further feedbacks or clarification from person who create the issue.

Comments

@mregen
Copy link
Contributor

mregen commented Apr 27, 2024

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

The issue only applies if the client can not derive all datatypes from DataTypeDefinition and has to fall back to the DataTypeDictionaries.

Servers may chose to not populate the dictionaries in V1.04.
If the complex type client tries to fall back to dictionaries it can fail due to a BadNothingTodo exception, which should be skipped because it tries to read 0 nodes.

Expected Behavior

No response

Steps To Reproduce

Connect to a server which has no DataTypeDictionaries, but also doesn't expose all complex types in the DataTypeDefinition, which causes the client to fall back to read the dictionaries for the missing types.
Complex type loading fails due to the BadNothingTodo error.

Environment

- OS: any
- Environment: any
- Runtime: any
- Nuget Version: 1.5.374
- Component: client
- Server: Enapter sample server for the hydrogen industry
- Client: UA console client with option to read all datatypes

Anything else?

No response

@mregen mregen changed the title IOP: Loading complex types throws BadNothingTodo exception if DataTypeDictionary nodes are not populated IOP: Loading complex may throw BadNothingTodo exception if DataTypeDictionary nodes are not populated Apr 27, 2024
@EthanChangAED EthanChangAED added the Pending Feedback Pending on further feedbacks or clarification from person who create the issue. label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending Feedback Pending on further feedbacks or clarification from person who create the issue.
Projects
None yet
Development

No branches or pull requests

2 participants