Skip to content

Conversation

@zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Feb 19, 2025

Purpose

This PR handles the exception thrown after a user tries to place a node following an undo operation using NodeAutocomplete feature, the cause was a null object reference.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

  • Fix crash when placing node after undo operation using DNA

Reviewers

@DynamoDS/dynamo

@zeusongit zeusongit added this to the 3.5 milestone Feb 19, 2025
@github-actions github-actions bot changed the title DYN 8294 Fix crash when placing node after undo operation using DNA DYN-: DYN 8294 Fix crash when placing node after undo operation using DNA Feb 19, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-8294

@QilongTang
Copy link
Contributor

I guess these interactions with DNA is not unit testable? Is there a plan to add AGT test?

@zeusongit
Copy link
Contributor Author

I guess these interactions with DNA is not unit testable? Is there a plan to add AGT test?

This specific example was an edge case, which only reproduced if a user did Undo operation, while not unit testable, it should be doable with AGT. I will add a task for that.

@zeusongit zeusongit merged commit b32fd43 into DynamoDS:master Feb 19, 2025
27 of 29 checks passed
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