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

                 Key: DIRSTUDIO-706
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-706
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.5.3
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to