Description
In mapping I have Object link:
'cn=' + username + syncope:fullPath2Dn(realm, 'ou', ',') + ',OU=BY,DC=sesdev,DC=lab'
For root realm it returns value with extra comma:
'cn=testUser,,OU=BY,DC=sesdev,DC=lab'
BUT should return
'cn=testUser,OU=BY,DC=sesdev,DC=lab'
So, for ROOT realm fullPath2Dn(realm, 'ou', ',') should return empty string, BUT not comma.