mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-09 23:40:05 +00:00
fix[Issue-22794]: Restore the owner list with original owners (#23252)
(cherry picked from commit fe08a1511f7a6e25687ac9f0930595ec4c6b37e4)
This commit is contained in:
parent
f9ef22354a
commit
f6274cb425
@ -3891,7 +3891,7 @@ public abstract class EntityRepository<T extends EntityInterface> {
|
|||||||
EntityRepository.this.updateOwners(original, origOwners, updatedOwners);
|
EntityRepository.this.updateOwners(original, origOwners, updatedOwners);
|
||||||
updated.setOwners(updatedOwners);
|
updated.setOwners(updatedOwners);
|
||||||
} else {
|
} else {
|
||||||
updated.setOwners(origOwners); // Restore original owner
|
updated.setOwners(original.getOwners()); // Restore original owner
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user