Advanced value editors don't work in NewEntryWizard
---------------------------------------------------
Key: DIRSTUDIO-252
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-252
Project: Directory Studio
Issue Type: Bug
Components: studio-ldapbrowser
Affects Versions: 1.0.1
Reporter: Stefan Seelmann
Assignee: Stefan Seelmann
Fix For: 1.1.0
Some advanced value editors, that use the connection object, don't work in the
NewEntryWizard. The cause is that we use a DummyConnection that only provides
the schema information of the real connection, but it doesn't support any
operation on the directory. The "DN Editor" however needs the real connection
to be able to browse the tree. The reason why this DummyConnection is used is
that the modifications in the NewEntryWizard shouldn't be send to the directory
before the "Finish" button is pressed, because the entry doesn't exist yet.
A solution is to use the real connection instead of the DummyConnection and to
add a "read-only" flag to it. When starting the NewEntryWizard this flag must
be set to true, so that no modifications are sent to the directory. When
closing the Wizard this flag is resetted to its old value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.