Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-706

Ldif editor folding/unfolding does not work when a DN is split on more than one line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.3
    • 2.0.0
    • None
    • None

    Description

      If we try to fold an Entry clicking the [-], the entry remains unfolded if the line is split in more than one line, like :

      [-] dn: ads-interceptorId=collectiveAttributeInterceptor,ou=interceptors,ads-directo
      ryServiceId=default,ou=config
      ads-interceptororder: 12
      [-] ads-interceptorclassname: org.apache.directory.server.core.collective.Collective
      AttributeInterceptor
      ads-interceptorid: collectiveAttributeInterceptor
      objectclass: ads-interceptor
      objectclass: top
      ads-enabled: true

      Clicking on the first [-] gives :
      [+] dn: ads-interceptorId=collectiveAttributeInterceptor,ou=interceptors,ads-directo..
      ads-interceptororder: 12
      [-]ads-interceptorclassname: org.apache.directory.server.core.collective.Collective
      AttributeInterceptor
      ads-interceptorid: collectiveAttributeInterceptor
      objectclass: ads-interceptor
      objectclass: top
      ads-enabled: true

      This is probably due to the fact that we have 2 different folding level :

      • one for the entry
      • one for the multi-line attributes.

      In this case, only the second case is handled.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: