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

BUG FIX: Data object parent ids are now renumbered correctly when object id clashes are found. #1102

Conversation

joeykleingers
Copy link
Contributor

  • Fixes a bug where if a DREAM3D file is read into a data structure that already has existing data objects in it and the file is read in without specifying data paths, then an infinite loop occurs when getting the data paths of each object. This ONLY happens when using Python or executing non-GUI C++ code because the GUI never leaves the data paths variable empty. This is because the data object parent ids were getting renumbered incorrectly.
  • Added an additional unit test case to DREAM3DFileTest to test that this is working correctly.

@joeykleingers joeykleingers added the bug Something isn't working label Oct 9, 2024
@joeykleingers joeykleingers force-pushed the bug_fix/DS_ParentIds_Renumbering branch from 460ae43 to d1ff0bf Compare October 9, 2024 19:05
@joeykleingers joeykleingers enabled auto-merge (squash) October 9, 2024 19:13
@joeykleingers joeykleingers force-pushed the bug_fix/DS_ParentIds_Renumbering branch from d1ff0bf to 2a88079 Compare October 9, 2024 21:01
@imikejackson imikejackson force-pushed the bug_fix/DS_ParentIds_Renumbering branch from 2a88079 to b4e0e8c Compare October 10, 2024 17:25
@joeykleingers joeykleingers merged commit 8efcc3a into BlueQuartzSoftware:develop Oct 10, 2024
7 checks passed
@joeykleingers joeykleingers deleted the bug_fix/DS_ParentIds_Renumbering branch October 14, 2024 15:33
imikejackson pushed a commit to imikejackson/simplnx that referenced this pull request Oct 20, 2024
…ect id clashes are found. (BlueQuartzSoftware#1102)

* Fixes a bug where if a DREAM3D file is read into a data structure that already has existing data objects in it and the file is read in without specifying data paths, then an infinite loop occurs when getting the data paths of each object. This ONLY happens when using Python or executing non-GUI C++ code because the GUI never leaves the data paths variable empty. This is because the data object parent ids were getting renumbered incorrectly.

* Added an additional unit test case to DREAM3DFileTest to test that this is working correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants