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

[WIP] BUG: Rework API for DataMap and DeepCopy in DataObject. #864

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

imikejackson
Copy link
Contributor

We need to be able to report errors back up the call tree if possible.

@imikejackson imikejackson added bug Something isn't working enhancement New feature or request labels Feb 19, 2024
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from 1574138 to 87026c2 Compare March 6, 2024 15:24
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from 87026c2 to 6656d8c Compare March 15, 2024 01:50
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch 2 times, most recently from 5f6a520 to 943f344 Compare March 27, 2024 22:37
@imikejackson imikejackson force-pushed the develop branch 2 times, most recently from 67a7875 to 12c9140 Compare April 22, 2024 14:34
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from 943f344 to 9d8546b Compare May 2, 2024 12:29
@nyoungbq nyoungbq self-requested a review May 2, 2024 16:14
@imikejackson
Copy link
Contributor Author

@JDuffeyBQ @mmarineBlueQuartz @nyoungbq Did we want to actually do something more with this as in changing the API? Otherwise I'll rename the PR to something like "Updating error message"

@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from 09d289b to c9c2cf3 Compare May 2, 2024 16:16
@nyoungbq
Copy link
Contributor

nyoungbq commented May 2, 2024

@imikejackson I'm gonna be honest, it's been a while, so I don't really remember exactly what API this PR was aiming to fix in the first place. However, if the point is percolating errors up the call tree as the description suggests then I think it's a good idea to go further with this, since it will be easier to debug and more stable.

@imikejackson
Copy link
Contributor Author

I think there was some early discussion on slack about this. But, yes, I think the issue is that the error should be percolated up the call chain instead of just crashing at runtime. Either that or every call that uses this API should be put inside of a try-catch in order to not crash.

@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch 3 times, most recently from 1425cc2 to e15f583 Compare May 17, 2024 21:37
@imikejackson imikejackson requested a review from nyoungbq May 24, 2024 15:59
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch 2 times, most recently from e2f414f to c2b4b00 Compare May 24, 2024 17:29
src/simplnx/DataStructure/BaseGroup.cpp Outdated Show resolved Hide resolved
src/simplnx/DataStructure/AttributeMatrix.cpp Outdated Show resolved Hide resolved
src/simplnx/DataStructure/BaseGroup.cpp Outdated Show resolved Hide resolved
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from c2b4b00 to 643a8c1 Compare June 21, 2024 13:55
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch 2 times, most recently from 62c1ebf to 5f22eee Compare July 18, 2024 14:12
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from 5f22eee to da2e463 Compare July 30, 2024 12:38
@imikejackson imikejackson marked this pull request as draft August 1, 2024 18:32
@imikejackson imikejackson changed the title BUG: Rework API for DataMap and DeepCopy in DataObject. [WIP] BUG: Rework API for DataMap and DeepCopy in DataObject. Aug 1, 2024
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from da2e463 to 49e98a7 Compare August 30, 2024 12:44
imikejackson and others added 4 commits September 27, 2024 08:25
We need to be able to report errors back up the call tree if possible.

Signed-off-by: Michael Jackson <[email protected]>
Signed-off-by: Michael Jackson <[email protected]>
@imikejackson imikejackson force-pushed the topic/deep_copy_failures branch from 49e98a7 to 7f302ff Compare September 27, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants