added test case for fuzzy boat class matcher for new iQFOil alias names

This commit is contained in:
Axel Uhl
2023-07-16 09:34:23 +02:00
parent b3651aca29
commit bf7dc83fd4
2 changed files with 15 additions and 1 deletions
@@ -2322,7 +2322,7 @@ implements ReplicableSecurityService, ClearStateTestSupport {
boolean setServerGroupAsOwner, final String displayName) {
boolean wasNecessaryToMigrate = false;
final OwnershipAnnotation owner = this.getOwnership(identifier);
// initialize ownerships on migration and fix objects that were orphaned by e.g. deleting the owning user/group
// initialize ownerships on migration and fix objects that were orphaned by setting the owning user/group
if (owner == null
|| owner.getAnnotation().getTenantOwner() == null && owner.getAnnotation().getUserOwner() == null) {
final UserGroup tenantOwnerToSet = setServerGroupAsOwner ? this.getServerGroup() : null;