You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Alexander Tsvetkov (JIRA)" <ji...@apache.org> on 2018/11/05 11:06:03 UTC

[jira] [Created] (SYNCOPE-1393) jexl function fullPath2Dn return invalid value for ROOT realm

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)