Merge pull request #13468 from dashevchenko/owner_of_entity_from_dashboard_state
[EDQS] Fixed customer creation for NULL customer id
This commit is contained in:
commit
c85c5f0c9e
@ -191,7 +191,7 @@ public class TenantRepo {
|
||||
getEntitySet(entityType).add(entityData);
|
||||
}
|
||||
|
||||
UUID newCustomerId = fields.getCustomerId();
|
||||
UUID newCustomerId = CustomerId.NULL_UUID.equals(fields.getCustomerId()) ? null : fields.getCustomerId();
|
||||
UUID oldCustomerId = entityData.getCustomerId();
|
||||
entityData.setCustomerId(newCustomerId);
|
||||
if (entityIdMismatch(oldCustomerId, newCustomerId)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user