You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jim Birch (JIRA)" <ji...@apache.org> on 2013/02/27 23:35:12 UTC

[jira] [Comment Edited] (DIRSTUDIO-888) Improve editing of boolean values

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

Jim Birch edited comment on DIRSTUDIO-888 at 2/27/13 10:34 PM:
---------------------------------------------------------------

Ok, I'll hopefully give you the full report this time :)

Dirstudio 2.0.0.v20130131
on Java 1.7.0_15 64bit
on Windows 7 64 bit

Connected to Active Directory, 
Search for a User record, open detail
Doubleclick to edit the boolean msExchHideFromAddressLists, 
 was set to "TRUE"
Type  "false" then hit Enter
results in the following error
====
Error while executing LDIF -[LDAP: eror code21 -00000057: LdapErr: DSID-0C90B8A, comment: Error in attribute conversion operation, data, v1db1
====
(see attachment [^LowerCaseFalseError.PNG] 

Repeating this operation using uppercase "FALSE" changes the value


                
      was (Author: jimbirch):
    Ok, I'll hopefully give you the full report this time :)

Dirstudio 2.0.0.v20130131
on Java 1.7.0_15 64bit
on Windows 7 64 bit

Connected to Active Directory, 
Search for a User record, open detail
Doubleclick to edit the boolean msExchHideFromAddressLists, 
 was set to *TRUE*
Type  *false* then hit Enter
results in the following error
{panel}
Error while executing LDIF
-[LDAP: eror code21 -00000057: LdapErr: DSID-0C90B8A, comment: Error in attribute conversion operation, data, v1db1
{panel}

Repeating this operation using uppercase *FALSE* changes the value

 

                  
> Improve editing of boolean values
> ---------------------------------
>
>                 Key: DIRSTUDIO-888
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-888
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Jim Birch
>            Priority: Minor
>         Attachments: LowerCaseFalseError.PNG
>
>
> In inline editor won't accept lowercase strings for AD boolean values.  "true" and "false" aren't accepted.  This was a bit unexpected so I started looking for other problems.  A more relaxed approach could accept lower case values, or maybe even things like "t", "T", "f", 'F', "1", "0", "yes", "Y", "NO", ...
> A simple attribute editor for booleans would be a help to confirm/force a valid change.  This becomes an issue if the change is not accepted for some reason, you aren't left wondering if you entered something invalid. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira