Skip to content

Commit

Permalink
Merge pull request #2283 from atlanhq/GOV-1179-regression
Browse files Browse the repository at this point in the history
[master] GOV-1179 Fix regression bug while updating category description
  • Loading branch information
nikhilbonte21 authored Aug 21, 2023
2 parents c036f7c + 9fc2d8a commit 203ba5d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ private void processUpdateCategory(AtlasEntity entity, AtlasVertex vertex) throw
processMoveCategoryToAnotherGlossary(entity, vertex, currentGlossaryQualifiedName, newGlossaryQualifiedName, vertexQnName);

} else {
categoryExists(catName, newGlossaryQualifiedName);
String vertexName = vertex.getProperty(NAME, String.class);
if (!vertexName.equals(catName)) {
categoryExists(catName, newGlossaryQualifiedName);
}
validateChildren(entity, storedCategory);
validateParent(newGlossaryQualifiedName);

Expand Down

0 comments on commit 203ba5d

Please sign in to comment.