| Stefan Seelmann (JIRA) 2008-01-03, 7:11 pm |
| 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 directo
ry. 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, beca
use 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 f
lag 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.
|