Bug #63

in ldap2ldap synchronization source object is read twice

Added by Jonathan Clarke about 1 year ago. Updated about 1 year ago.

Status:Closed Start:09/06/2009
Priority:Normal Due date:
Assigned to:Jonathan Clarke % Done:

100%

Category:Core
Target version:1.1.0
Problem in version:

Description

In AbstractSynchronize, the synchronize2ldap method does this for each entry:

LscObject lscObject = srcService.getObject(id);
[...]
// Specific JDBC - transform flat object into a normal object
if(fTop.class.isAssignableFrom(lscObject.getClass())) {
srcObject = object.getClass().newInstance();
srcObject.setUpFromObject((fTop)lscObject);
} else {
// Specific LDAP
srcObject = (top)srcService.getObject(id);
}

It seems this most probably causes two searchs to be perfomed in the source directory.

Associated revisions

Revision 245
Added by Jonathan Clarke about 1 year ago

Fixes #63. Only read source object once in ldap2ldap mode

History

Updated by Jonathan Clarke about 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset r245.

Updated by Jonathan Clarke about 1 year ago

  • Status changed from Feedback to Closed
  • Assigned to set to Jonathan Clarke

Closing this issue, the problem is resolved and nobody's complained about the fix :)

Also available in: Atom PDF