Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E96A37C78 for ; Wed, 7 Dec 2011 13:03:05 +0000 (UTC) Received: (qmail 83005 invoked by uid 500); 7 Dec 2011 13:03:05 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 82870 invoked by uid 500); 7 Dec 2011 13:03:04 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 82863 invoked by uid 99); 7 Dec 2011 13:03:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 13:03:04 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 13:03:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 30D99105FC4 for ; Wed, 7 Dec 2011 13:02:40 +0000 (UTC) Date: Wed, 7 Dec 2011 13:02:40 +0000 (UTC) From: "Pierre-Arnaud Marcelot (Closed) (JIRA)" To: dev@directory.apache.org Message-ID: <1330902440.49275.1323262960201.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1921693893.46128.1323190780045.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DIRSTUDIO-752) Improve fault tolerance when reading an online schema from a connection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot closed DIRSTUDIO-752. -------------------------------------------- Resolution: Fixed Fixed at revision 1211420. http://svn.apache.org/viewvc?rev=1211420&view=rev > 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