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

jexl function fullPath2Dn return invalid value for ROOT realm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.10, 2.1.1
    • 2.0.12, 2.1.3, 3.0.0
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: