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

DYN-7946:PM - crash fix when removing custom nodes with identical names #15694

Merged

Conversation

dnenov
Copy link
Collaborator

@dnenov dnenov commented Dec 2, 2024

Purpose

Fixes a crash where, while creating a new Package, attempting to remove CustomNodeDefinitions from the current loaded list of files would result in unhandled "Sequence contains no matching element" error. This is happening because of the way we handle custom nodes with duplicate naming, constructing the Display Name using the [namespace].[node name] combination.

The PR addresses the underlying cause of the issue.

https://jira.autodesk.com/browse/DYN-7946

D5RgzPFxHH

image

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

  • fixed a crash where removing custom nodes with identical names would cause a null "Sequence contains no matching element" due to how we handle duplicate node names

Reviewers

@jnealb
@QilongTang

FYIs

- fixed a crash where removing custom nodes with identical names would cause a null "Sequence contains no matching element" due to how we handle duplicate node names
@dnenov dnenov changed the title fixed a crash PM - crash fix when removing custom nodes with identical names Dec 2, 2024
@dnenov dnenov changed the title PM - crash fix when removing custom nodes with identical names DYN-7946:PM - crash fix when removing custom nodes with identical names Dec 2, 2024
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-7946

Copy link

github-actions bot commented Dec 2, 2024

UI Smoke Tests

Test: success. 11 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests

@QilongTang QilongTang added this to the 3.5 milestone Dec 2, 2024
@QilongTang
Copy link
Contributor

Reported regression real? DynamoCoreWpfTests.RecordedTests.TestReconnectionUndo

@QilongTang
Copy link
Contributor

@QilongTang
Copy link
Contributor

Self serve passed, merging

@QilongTang QilongTang merged commit 25cd2ae into DynamoDS:master Dec 3, 2024
28 of 31 checks passed
@QilongTang QilongTang mentioned this pull request Dec 5, 2024
9 tasks
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