Add "sysTenantId" property on "parent" property, in order to support multiple levels of group (more than 2 levels of hierarchy) when creating a new tenant. Otherwise “IllegalStateException: Cannot get unfetched attribute [sysTenantId] from detached object com.haulmont.addon.sdbmt.entity.TenantGroup” will be thrown.
Add "sysTenantId" property on "parent" property, in order to support multiple levels of group (more than 2 levels of hierarchy) when creating a new tenant. Otherwise “IllegalStateException: Cannot get unfetched attribute [sysTenantId] from detached object com.haulmont.addon.sdbmt.entity.TenantGroup” will be thrown.