Bug 760085 - LDAP server details are not getting import
Summary: LDAP server details are not getting import
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RHQ Project
Classification: Other
Component: CLI
Version: unspecified
Hardware: All
OS: All
unspecified
urgent vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-05 12:08 UTC by Jeeva Kandasamy
Modified: 2011-12-05 13:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-05 13:50:29 UTC


Attachments (Terms of Use)
file used for import operation (22.73 KB, application/x-gzip)
2011-12-05 12:08 UTC, Jeeva Kandasamy
no flags Details

Description Jeeva Kandasamy 2011-12-05 12:08:04 UTC
Created attachment 540823 [details]
file used for import operation

Description of problem:
LDAP server details are not getting import

Version-Release number of selected component (if applicable):
Version: 3.0.0.GA
Build Number: e23441b:4e746e8
GWT Version: 2.0.4
SmartGWT Version: 2.4

How reproducible:
100%

Steps to Reproduce:
1.Logon to CLI client
2.Do export system configuration, Commands used,
var ex = SynchronizationManager.exportAllSubsystems();
saveBytesToFile(ex.exportFile, 'export.xml.gz');

3.Change LDAP server details in export.xml and make compress (format: .gz)
4.Do import system configurations, Commands used,
var data = getFileBytes('export.xml.gz');
SynchronizationManager.importAllSubsystems(data, null);

  
Actual results:
LDAP changes doesn't reflect. 

Expected results:
Should reflect LDAP changes.

Additional info:export xml file is attached. There is no error message on server side as well as client tool.

Comment 1 Lukas Krejci 2011-12-05 13:48:21 UTC
For a system setting to be imported, it has to be listed in the "propertiesToImport" configuration setting. The LDAP-related settings are not included in that list by default, because different RHQ installations are thought to NOT have identical LDAP configs.

The attached export file doesn't list the modified settings in the list of the properties to import and therefore they are not imported.


Note You need to log in before you can comment on or make changes to this bug.