You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Baptiste Desprez (JIRA)" <ji...@apache.org> on 2012/07/05 14:38:36 UTC

[jira] [Created] (DIRSTUDIO-818) javax.NamingException / invalid record

Baptiste Desprez created DIRSTUDIO-818:
------------------------------------------

             Summary: javax.NamingException / invalid record
                 Key: DIRSTUDIO-818
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-ldapbrowser
    Affects Versions: 1.5.3
         Environment: windows 7 x64, LDAP 389
            Reporter: Baptiste Desprez


An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :

Une erreur est survenue lors de l'exécution du LDIF
 - L'enregistrement est invalide
  javax.naming.NamingException: L'enregistrement est invalide
	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

  L'enregistrement est invalide

There is no problem to delete this attribute with ldapvi.

Thanks



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (DIRSTUDIO-818) javax.NamingException / invalid record

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407116#comment-13407116 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-818:
--------------------------------------------------

Thanks for the answers.
Glad that it helped. :)

Additional question: Did you manage to view/edit the entry (and its attributes with '_' char) in the Entry Editor or did you get any other error beside this one?
                
> javax.NamingException / invalid record
> --------------------------------------
>
>                 Key: DIRSTUDIO-818
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3
>         Environment: windows 7 x64, LDAP 389
>            Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
>  - L'enregistrement est invalide
>   javax.naming.NamingException: L'enregistrement est invalide
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>   L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (DIRSTUDIO-818) javax.NamingException / invalid record

Posted by "Baptiste Desprez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407108#comment-13407108 ] 

Baptiste Desprez commented on DIRSTUDIO-818:
--------------------------------------------

I have just checked the RFC 4512, you are right. I will notify the developers of this matter.

Thanks for your quick help !
                
> javax.NamingException / invalid record
> --------------------------------------
>
>                 Key: DIRSTUDIO-818
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3
>         Environment: windows 7 x64, LDAP 389
>            Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
>  - L'enregistrement est invalide
>   javax.naming.NamingException: L'enregistrement est invalide
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>   L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (DIRSTUDIO-818) javax.NamingException / invalid record

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407066#comment-13407066 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-818:
--------------------------------------------------

Hi Baptiste,

This is because the underscore char ('_') isn't authorized in the name of an attribute type if you stick to LDAP standards and RFCs 2252 & 4512.

What directory server are you using? Microsoft Active Directory I guess...

We should probably try to relax that but it's not that simple considering that we're building Studio on a stack of standard compliant components...

Thanks,
Pierre-Arnaud
                
> javax.NamingException / invalid record
> --------------------------------------
>
>                 Key: DIRSTUDIO-818
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3
>         Environment: windows 7 x64, LDAP 389
>            Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
>  - L'enregistrement est invalide
>   javax.naming.NamingException: L'enregistrement est invalide
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>   L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (DIRSTUDIO-818) javax.NamingException / invalid record

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407805#comment-13407805 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-818:
--------------------------------------------------

Ok thanks.

This is going to help me debug the issue.
                
> javax.NamingException / invalid record
> --------------------------------------
>
>                 Key: DIRSTUDIO-818
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3
>         Environment: windows 7 x64, LDAP 389
>            Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
>  - L'enregistrement est invalide
>   javax.naming.NamingException: L'enregistrement est invalide
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>   L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (DIRSTUDIO-818) javax.NamingException / invalid record

Posted by "Baptiste Desprez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407147#comment-13407147 ] 

Baptiste Desprez commented on DIRSTUDIO-818:
--------------------------------------------

In the LDIF entry editor, the attribute with an '_' is showed as invalid (error : Missing value type). In the entry editor, I can view this attribute and his content. The error is displayed where I try to modify / delete this attribute.
                
> javax.NamingException / invalid record
> --------------------------------------
>
>                 Key: DIRSTUDIO-818
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3
>         Environment: windows 7 x64, LDAP 389
>            Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
>  - L'enregistrement est invalide
>   javax.naming.NamingException: L'enregistrement est invalide
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>   L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (DIRSTUDIO-818) javax.NamingException / invalid record

Posted by "Baptiste Desprez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407098#comment-13407098 ] 

Baptiste Desprez commented on DIRSTUDIO-818:
--------------------------------------------

Fortunately, I am using 389 Directory Server ;)
                
> javax.NamingException / invalid record
> --------------------------------------
>
>                 Key: DIRSTUDIO-818
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3
>         Environment: windows 7 x64, LDAP 389
>            Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
>  - L'enregistrement est invalide
>   javax.naming.NamingException: L'enregistrement est invalide
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>   L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (DIRSTUDIO-818) javax.NamingException / invalid record

Posted by "Baptiste Desprez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Baptiste Desprez resolved DIRSTUDIO-818.
----------------------------------------

    Resolution: Fixed
    
> javax.NamingException / invalid record
> --------------------------------------
>
>                 Key: DIRSTUDIO-818
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3
>         Environment: windows 7 x64, LDAP 389
>            Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example : description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
>  - L'enregistrement est invalide
>   javax.naming.NamingException: L'enregistrement est invalide
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> 	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>   L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira