[
https://issues.apache.org/jira/browse/DIRSTUDIO-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947536#comment-14947536
]
Stefan Seelmann commented on DIRSTUDIO-1071:
--------------------------------------------
Right, sorry, I just wanted to show you a working example, not talking about
number of guns again.
I agree, the RDN interface can be improved. The drop-down should show the list
of valid attributes, but it's still possible to enter an invalid one. In such a
case Studio should show a warning. Thanks for the report.
DIRSTUDIO-1063 is another issue that suggests improvement of the RDN editor.
> Cannot create entries with custom schemas
> -----------------------------------------
>
> Key: DIRSTUDIO-1071
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1071
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds
> Affects Versions: 2.0.0-M9 (2.0.0.v20150606-M9)
> Environment: Fresh Install of ApacheDS2.0.0M20. windows7
> Reporter: Julia Smith
>
> pasted out the seven seas schema as per your documentation, but any attempt
> to add a ship entry results in the following.
> eclipse.buildId=unknown
> java.version=1.8.0_51
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Framework arguments: /studio-rcp/resources/icons/linux/studio.xpm
> Command-line arguments: -os win32 -ws win32 -arch x86_64
> /studio-rcp/resources/icons/linux/studio.xpm
> org.apache.directory.studio.common.core
> Error
> Wed Oct 07 12:14:23 PDT 2015
> java.lang.Exception: [LDAP: error code 16 - NO_SUCH_ATTRIBUTE: failed for
> MessageType : ADD_REQUEST
> Message ID : 12
> Add Request :
> Entry
> dn[n]: ship=foo,dc=example,dc=com
> objectClass: ship
> objectClass: top
> ship: foo
> cn:
> : ERR_04269 ATTRIBUTE_TYPE for OID ship does not exist!]
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1278)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$9(DirectoryApiConnectionWrapper.java:1246)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$6.run(DirectoryApiConnectionWrapper.java:926)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1173)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1107)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.createEntry(DirectoryApiConnectionWrapper.java:948)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.createEntry(CreateEntryRunnable.java:225)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.run(CreateEntryRunnable.java:124)
> at
> org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:112)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> java.lang.Exception: [LDAP: error code 16 - NO_SUCH_ATTRIBUTE: failed for
> MessageType : ADD_REQUEST
> Message ID : 12
> Add Request :
> Entry
> dn[n]: ship=foo,dc=example,dc=com
> objectClass: ship
> objectClass: top
> ship: foo
> cn:
> : ERR_04269 ATTRIBUTE_TYPE for OID ship does not exist!]
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1278)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$9(DirectoryApiConnectionWrapper.java:1246)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$6.run(DirectoryApiConnectionWrapper.java:926)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1173)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1107)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.createEntry(DirectoryApiConnectionWrapper.java:948)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.createEntry(CreateEntryRunnable.java:225)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.run(CreateEntryRunnable.java:124)
> at
> org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:112)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)