fix[Issue-22794]: Restore the owner list with original owners (#23252)

This commit is contained in:
aravinds502 2025-09-16 13:00:31 +05:30 committed by GitHub
parent 2f27a7a486
commit fe08a1511f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3963,7 +3963,7 @@ public abstract class EntityRepository<T extends EntityInterface> {
EntityRepository.this.updateOwners(original, origOwners, updatedOwners);
updated.setOwners(updatedOwners);
} else {
updated.setOwners(origOwners); // Restore original owner
updated.setOwners(original.getOwners()); // Restore original owner
}
}