Issue #696 has been updated by Raphaël Ouazana.

Status changed from Assigned to Feedback
Assigned to changed from Raphaël Ouazana to Ondrej Koch
% Done changed from 0 to 70

Thank you for your report.
Please test, this should be fixed in trunk.

Some notes about this:
- IBean API generally returns strings. But you can use srcBean.getDatasetById 
to get a Set of original values.
- These values are mutable, so don't forget to make a copy before modifying them
- The Javascript (or Groovy) expression can now be interpreted as a List of 
byte[], but only if you declare the destination attribute as a 
<binaryAttribute> in the <ldapConnection>
----------------------------------------
Feature #696: JScript process values are forcibly casted to strings
http://tools.lsc-project.org/issues/696

Author: Ondrej Koch
Status: Feedback
Priority: Normal
Assigned to: Ondrej Koch
Category: Core
Target version: 2.1.1


What we're trying to do is to synchronize bytestring from one LDAP to another 
and do some magic on the go using JS. The problem seems to be that LSC's 
JScriptExecutor casts everything to String and therefore there is no way to 
sync binary data from one side to another.


-- 
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
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to