[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901397#comment-15901397
 ] 

Emmanuel Lecharny commented on DIRSTUDIO-1138:
----------------------------------------------

Note that this fixes the consequence, but it's just a workaround. We *can* 
store a {{null}} value in an {{Attribute}}, and it should never block the 
editor when double-clicking on the value column.

The error message is correct though : when we add a {{Boolean}} with no value, 
either {{TRUE}} or {{FALSE}} should be filled in. As the addition of a new 
{{Attribute}} does not fill the value part, we will get the error. At this 
point, we could decide to feed the column with a default value.

Last, not least, it would be interesting to understand why Studio freezes when 
we have a {{Null}} value and if we double-click on the column.

> Studio freezes after the addition of a Boolean attribute with no editor
> -----------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1138
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1138
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 2.0.0-M12
>            Reporter: Emmanuel Lecharny
>
> While trying to add an attribute into an existing entry, Studio freezes after 
> having shown an error.
> Here is the Attribute description :
> {noformat}
> attributetype ( 1.3.6.1.4.1.4203.1.12.2.3.3.1.3 NAME 'olcSpNoPresent'
>       DESC 'Omit Present phase processing'
>       SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
>       SINGLE-VALUE
>       USAGE userApplications )
> {noformat}
> Here is the message I get :
> {noformat}
> >>>Error, the configured value editor can not handle this value! <<<
> {noformat}
> At this point, I can open the preference menu, or check the schema using the 
> Ldap Schema tab, as soon as I don't double-click on the error message. But if 
> I do, I get a spinning ball for ever.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to