[389-devel] Please review: Bug 521108 - Customer is unable to add a new Role within RHDS 8.1.0

Endi Sukma Dewata edewata at redhat.com
Tue Mar 16 23:12:31 UTC 2010


Hi,

Please review the patch for this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=521108

Patch:
https://bugzilla.redhat.com/attachment.cgi?id=400577&action=edit
https://bugzilla.redhat.com/attachment.cgi?id=400577&action=diff

Fix description:
The console uses resource editor extensions which are registered under
cn=ResourceEditorExtension, ou=1.1, ou=admin, ou=Global Preferences,
ou=example.com, o=NetscapeRoot in the admin server. Some extensions are
provided by idm-console-framework, but some others are provided by
389-ds-console.

Currently the console will load all extensions during console initialization.
However, when a user uses the console for the first time it doesn't have the
389-ds-console jar file yet. The jar file will only be downloaded when the user
clicks the server node, but at that point the console will not try to load the
extensions again.

This problem can be reproduced by removing ~/.389-console/jars folder and then
restarting the console.

The patch will change the behaviour such that during initialization the console
will only load the extensions from idm-console-framework (without @ sign). When
the user clicks the server node it will load the extensions from the
389-ds-console jar file (ending with @ + jar file name).

Thanks.

--
Endi S. Dewata


More information about the 389-devel mailing list