Alexander Tsvetkov created SYNCOPE-1393:
-------------------------------------------

             Summary: jexl function fullPath2Dn return invalid value for ROOT 
realm
                 Key: SYNCOPE-1393
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1393
             Project: Syncope
          Issue Type: Bug
    Affects Versions: 2.1.1, 2.0.10
            Reporter: Alexander Tsvetkov
             Fix For: 2.1.0


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.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to