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

Set valid default for classificationOrigin #7631

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

mandy-chessell
Copy link
Contributor

Description

There is an issue in the XTDB repository reporting errors when saving the classification origin because it is null. This is the default value set up in new Classification().

Most repository level function (archivers, JanusGraph repository, test cases ...) do not set this value. Therefore XTDB, which is technically correct, will encounter a null value from many sources.

This PR changes the default value of classificationOrigin to ClassificationOrigin.ASSIGNED

Related Issue(s)

odpi/egeria-connector-xtdb#475

Testing

FVTs When this is in main, we will retest XTDB to ensure this issue goes away.

Release Notes & Documentation

No

Additional notes

@mandy-chessell mandy-chessell merged commit d46a2ab into odpi:main Apr 27, 2023
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.

1 participant