directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSTUDIO-752) Improve fault tolerance when reading an online schema from a connection
Date Tue, 06 Dec 2011 16:59:40 GMT
Improve fault tolerance when reading an online schema from a connection
-----------------------------------------------------------------------

                 Key: DIRSTUDIO-752
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-752
             Project: Directory Studio
          Issue Type: Improvement
          Components: studio-schemaeditor
    Affects Versions: 1.5.3
            Reporter: Pierre-Arnaud Marcelot
            Assignee: Pierre-Arnaud Marcelot
            Priority: Blocker
             Fix For: 2.0.0


Using OpenDS 2.2 (latest version at this time), the Schema Editor cannot successfully load
the online schema from the connection because of a badly formatted attribute type description
returned by OpenDS.
This is clearly a bug on OpenDS's side and a JIRA has been opened to address this issue OPENDS-4616
[http://java.net/jira/browse/OPENDS-4616].

Instead of failing badly, Studio should discard this particular attribute type and move to
the next one.
This would leave the project in a better state, rather than having strictly nothing after
the import.

Here's the full console report:
============================================================
Error reading schema: attributeTypes = ( 2.16.840.1.113730.3.1.35 NAME 'changelog'  DESC 'the
distinguished name of the entry which contains the set of entries comprising this server's
changelog' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE
NO-USER-MODIFICATION USAGE directoryOperation X-ORIGIN 'draft-good-ldap-changelog' )
ERR_04229 Parser failure on attribute type description:
	( 2.16.840.1.113730.3.1.35 NAME 'changelog'  DESC 'the distinguished name of the entry which
contains the set of entries comprising this server's changelog' EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation
X-ORIGIN 'draft-good-ldap-changelog' )
Antlr message: unexpected char: 's'

!ENTRY org.apache.directory.studio.common.core 4 4 2011-12-06 17:07:14.767
!MESSAGE null
 - ERR_04229 Parser failure on attribute type description
!SUBENTRY 1 org.apache.directory.studio.common.core 4 4 2011-12-06 17:07:14.767
!MESSAGE java.text.ParseException: ERR_04229 Parser failure on attribute type description:
	( 2.16.840.1.113730.3.1.35 NAME 'changelog'  DESC 'the distinguished name of the entry which
contains the set of entries comprising this server's changelog' EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation
X-ORIGIN 'draft-good-ldap-changelog' )
Antlr message: unexpected char: 's'
	at org.apache.directory.shared.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser.parseAttributeTypeDescription(AttributeTypeDescriptionSchemaParser.java:119)
	at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.getSchema(GenericSchemaConnector.java:197)
	at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.importSchema(GenericSchemaConnector.java:97)
	at org.apache.directory.studio.schemaeditor.model.Project.fetchOnlineSchema(Project.java:249)
	at org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard$1.run(NewProjectWizard.java:142)
	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!STACK 0
java.text.ParseException: ERR_04229 Parser failure on attribute type description:
	( 2.16.840.1.113730.3.1.35 NAME 'changelog'  DESC 'the distinguished name of the entry which
contains the set of entries comprising this server's changelog' EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation
X-ORIGIN 'draft-good-ldap-changelog' )
Antlr message: unexpected char: 's'
	at org.apache.directory.shared.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser.parseAttributeTypeDescription(AttributeTypeDescriptionSchemaParser.java:119)
	at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.getSchema(GenericSchemaConnector.java:197)
	at org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.importSchema(GenericSchemaConnector.java:97)
	at org.apache.directory.studio.schemaeditor.model.Project.fetchOnlineSchema(Project.java:249)
	at org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard$1.run(NewProjectWizard.java:142)
	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:123)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
============================================================

--
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

        

Mime
View raw message