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

ATLAS-1879 update types again, after updateGraphStore #39

Open
wants to merge 2 commits into
base: 0.8-incubating
Choose a base branch
from

Conversation

bpgergo
Copy link

@bpgergo bpgergo commented Jul 26, 2017

No description provided.

@@ -381,6 +381,12 @@ public AtlasTypesDef updateTypesDef(AtlasTypesDef typesDef) throws AtlasBaseExce

AtlasTypesDef ret = updateGraphStore(typesDef, ttr);

try {
ttr.updateTypesWithNoRefResolve(ret);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call updateTypes(), instead of updateTypesWithNoRefResolve() - "*WithNoRefResolve()" calls will not run resolveReferences() hence will leave type objects with no reference to other types (for example: an entity-type will not have its references set for other entity-types references by it).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mneethiraj, thanks for your comment, I got you and I fixed that

@mneethiraj
Copy link
Contributor

+1 for the patch. Thanks @bpgergo.

Since this pull request is on a readonly repo, this can't be merged. Atlas team uses review board (https://reviews.apache.org/) for code review. I would suggest to use review board for patches.

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