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

Added SecondChance algorithm to allow you to retry importing nodes th… #247

Conversation

xydan83
Copy link
Contributor

@xydan83 xydan83 commented Dec 8, 2023

…at could not be imported because they did not find their parents. This may be the case if we have a node type of Object which has its own parent node type of Variable. For example, this could be a HasHistoricalConfiguration reference type. Also, the status about how many nodes we have imported shows numbers that include nodes that were not imported due to some error.

@xydan83 xydan83 changed the title Added SecondChance algorithm to allow you to retry importing nodes th… [draft] Added SecondChance algorithm to allow you to retry importing nodes th… Dec 8, 2023
@matkonnerth matkonnerth self-requested a review December 8, 2023 13:40
@matkonnerth
Copy link
Collaborator

Great job, thanks for the PR. I've added a comment, feel free to ask questions.

@xydan83 xydan83 force-pushed the Feature-issue246-add-second-chance-for-nodes-without-parents branch from 7cd8fb5 to b3ec7ed Compare December 11, 2023 09:10
@xydan83
Copy link
Contributor Author

xydan83 commented Dec 11, 2023

Hello! I changed some details and included the container in the addNodeImpl function. NL_Node no longer has StatusCode. Look here please.

@xydan83 xydan83 force-pushed the Feature-issue246-add-second-chance-for-nodes-without-parents branch 3 times, most recently from 8e73796 to 9e3c680 Compare December 11, 2023 09:32
…at could not be imported because they did not find their parents. This may be the case if we have a node type of Object which has its own parent node type of Variable. For example, this could be a HasHistoricalConfiguration reference type. Also, the status about how many nodes we have imported shows numbers that include nodes that were not imported due to some error.
@xydan83 xydan83 force-pushed the Feature-issue246-add-second-chance-for-nodes-without-parents branch from 9e3c680 to e4a3eed Compare December 11, 2023 09:55
@xydan83
Copy link
Contributor Author

xydan83 commented Dec 11, 2023

WindowsBuildOnly is using an old version of open62541 (open62541/1.3.1) and we are getting an error.

image

@xydan83
Copy link
Contributor Author

xydan83 commented Dec 11, 2023

Added a couple of tests.

@xydan83 xydan83 marked this pull request as ready for review December 12, 2023 07:25
@xydan83 xydan83 changed the title [draft] Added SecondChance algorithm to allow you to retry importing nodes th… Added SecondChance algorithm to allow you to retry importing nodes th… Dec 12, 2023
@matkonnerth matkonnerth merged commit 5e517fc into open62541:master Dec 13, 2023
4 of 5 checks passed
@matkonnerth
Copy link
Collaborator

Thank you, good job!

@xydan83 xydan83 deleted the Feature-issue246-add-second-chance-for-nodes-without-parents branch December 14, 2023 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants