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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.3
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      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.

        Activity

        Emmanuel Lecharny created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development