[
https://issues.apache.org/jira/browse/DIRSTUDIO-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360104#comment-14360104
]
Emmanuel Lecharny commented on DIRSTUDIO-706:
---------------------------------------------
Actually, this is a problem for the very first DN only. If we have other lines
with a multi-lines DN, then the unfolding works, but then we have another
unexpected behavior : the DN is always shown on multiple lines.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)