[
https://issues.apache.org/jira/browse/DIRSTUDIO-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275716#comment-17275716
]
Stefan Seelmann commented on DIRSTUDIO-1196:
--------------------------------------------
Connected to the online TDS provided by
https://www.zflexldapadministrator.com/index.php/blog/82-free-online-ldap
The Tivoli schema has some invalid attribute types, they contain backslashes
which don't start an escape sequence:
( 0.9.2342.19200300.100.1.39 NAME 'homePostalAddress' DESC 'Identifies the
entrys home mailing address. This field is intended to include multiple lines,
but each line within the entry should be separated by a dollar sign (\24). To
represent an actual dollar sign (\24) or backslash (\) within this text, use
the escaped hex values \24 and \5c respectively.' SYNTAX
1.3.6.1.4.1.1466.115.121.1.15 )
( 1.3.18.0.2.4.2009 NAME 'ibm-personalAddressBookPathName' DESC 'Path and
database name of users personal address book on server. Example:
arouse\names.nsf' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
( 1.3.18.0.2.4.2364 NAME 'ibm-slapdIncludeSchema' DESC 'File path on ibmslapd
host machine containing schema definitions used by the LDCF backend. Standard
values are: /etc/V3.system.at /etc/V3.system.oc /etc/V3.ibm.at /etc/V3.ibm.oc
/etc/V3.user.at /etc/V3.user.oc /etc/V3.ldapsyntaxes /etc/V3.matchingrules
/etc/V3.modifiedschema On Windows, forward slashes are allowed, and a leading
slash not preceded by a drive letter is assumed to be rooted at the install
directory (i.e.: /etc/V3.system.at = D:\Program
Files\IBM\ldap\etc\V3.system.at).' EQUALITY 2.5.13.5 SYNTAX
1.3.6.1.4.1.1466.115.121.1.15 USAGE directoryOperation )
> Create Online Schema Project
> ----------------------------
>
> Key: DIRSTUDIO-1196
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1196
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-schemaeditor
> Affects Versions: 2.0.0-M14
> Reporter: Anton Mun
> Priority: Major
>
> При попытке создать проект из соединения с Tivoli Directory Server выдает
> ошибку:
> {code:java}
> An error occurred when fetching the schema:
> - java.lang.ArrayIndexOutOfBoundsException: 118
> org.apache.directory.studio.schemaeditor.model.io.SchemaConnectorException:
> java.lang.ArrayIndexOutOfBoundsException: 118
> at
> org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.importSchema(GenericSchemaConnector.java:115)
> at
> org.apache.directory.studio.schemaeditor.model.Project.fetchOnlineSchema(Project.java:252)
> at
> org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard$1.run(NewProjectWizard.java:141)
> at
> org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:140)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 118
> at
> org.apache.directory.api.ldap.model.schema.parsers.OpenLdapSchemaParser.getQDString(OpenLdapSchemaParser.java:1838)
> at
> org.apache.directory.api.ldap.model.schema.parsers.OpenLdapSchemaParser.parseAttributeTypeRelaxed(OpenLdapSchemaParser.java:3170)
> at
> org.apache.directory.api.ldap.model.schema.parsers.OpenLdapSchemaParser.parseAttributeType(OpenLdapSchemaParser.java:2814)
> at
> org.apache.directory.api.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser.parse(AttributeTypeDescriptionSchemaParser.java:81)
> at
> org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.getSchema(GenericSchemaConnector.java:208)
> at
> org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector.importSchema(GenericSchemaConnector.java:106)
> ... 4 more
> java.lang.ArrayIndexOutOfBoundsException: 118
> {code}
> При этом проект создается, но в импортированной схеме есть только описания
> атрибутов, и нет объектов-классов.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]