-
Notifications
You must be signed in to change notification settings - Fork 261
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] OMRSRepositoryContentManager returns InstanceType with null validInstanceStatusList #6051
Comments
Hi @keytiong are you willing to contribute your suggested change and a unit test along the lines of your suggested recreation steps. I can review and merge for you. One thought - maybe only issue the setValidStatusList if typeDef.getValidInstanceStatusList() is not null. |
Signed-off-by: Key Tiong Tan <[email protected]>
@davidradl , I've raised a pull request to fix this bug. Please review. |
Signed-off-by: Key Tiong Tan <[email protected]>
Signed-off-by: Key Tiong Tan <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
Signed-off-by: Key Tiong Tan <[email protected]>
Signed-off-by: Key Tiong Tan <[email protected]>
Signed-off-by: Key Tiong Tan <[email protected]>
#6051 Fix null validInstanceStatusList when getting InstanceType
Is there an existing issue for this?
Current Behavior
OMRSRepositoryContentManager.getInstanceType()
always returns anInstanceType
with nullvalidInstanceStatusList
.Expected Behavior
OMRSRepositoryContentManager.getInstanceType()
should return anInstanceType
with the samevalidInstanceStatusList
as the correspondingTypeDef
.Steps To Reproduce
OMRSRepositoryContentManager
OMRSRepositoryContentManager
with OpenMetadata type defsOMRSRepositoryContentManager.getInstanceType()
with any type def nameInstanceType
returned always has nullvalidInstanceStatusList
Environment
Any Further Information?
The implementation omitted
InstanceType.setValidInstanceTypeList()
when creating anInstanceType
fromTypeDef
OMRSRepositoryContentManager.getInstanceType()
File:
OMRSRepositoryContentManager.java
The text was updated successfully, but these errors were encountered: