Issue #141 has been reported by Jonathan Clarke.

----------------------------------------
Bug #141: Create and default values not added to destination for attributes not 
in source object
http://tools.lsc-project.org/issues/show/141

Author: Jonathan Clarke
Status: Feedback
Priority: High
Assigned to: Jonathan Clarke
Category: Core
Target version: 1.1.2


Consider a configuration like this:
<pre>
lsc.tasks.ldap2ldapTestTask.object = org.lsc.objects.person
lsc.tasks.ldap2ldapTestTask.bean = org.lsc.beans.inetOrgPersonBean
lsc.tasks.ldap2ldapTestTask.dstService.attrs = objectClass mail
lsc.syncoptions.ldap2ldapTestTask = 
org.lsc.beans.syncoptions.PropertiesBasedSyncOptions
lsc.syncoptions.ldap2ldapTestTask.mail.action = F
lsc.syncoptions.ldap2ldapTestTask.mail.create_value = "[email protected]"
lsc.syncoptions.ldap2ldapTestTask.mail.default_value = "[email protected]"
</pre>

Note that the person object, which is read from the source, cannot contain the 
attribute mail. In this case, no mail attribute is ever added to the 
destination.

Put simply: create and default values are only taken into account for attribute 
names that are in the source object POJO.

A fix is coming.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to