Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1393

jexl function fullPath2Dn return invalid value for ROOT realm

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.10, 2.1.1
    • Fix Version/s: 2.0.12, 2.1.3, 3.0.0
    • Component/s: core
    • Labels:
      None

      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.

       

       

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              AlexanderTs Alexander Tsvetkov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: