Hello, colleagues.
Situation: jmix 1.3.4; multitenant add-on:
in the method onTenantFieldValueChange
class UserEdit
is passed to service multitenancyUiSupport.getUsernameByTenant
value usernameField.getValue()
This does not work because the value usernameField.getValue()
does not contain full information but only a string ending with the symbol TENANT_USERNAME_SEPARATOR
.
Information: If the value usernameField.getValue()
is replaced by the value userDc.getItem().getUsername()
, everything works correctly.