Issue #741 has been updated by Dmitriy S.
File lsc.xml added
File sql-map-config.xml added
File InetOrgPerson.xml added
Hi,
it is expired lsc. I have added new config files.
I modified source code and now everything is work.
I added 2 strings of code to *public String evalToString(final Task task, final
String expression,final Map<String, Object> params) throws LscServiceException*
in *org.lsc.utils.JScriptEvaluator*
@public String evalToString(final Task task, final String expression,
final Map<String, Object> params) throws
LscServiceException {
Object result = instanceEval(task, expression, params);
if (result == null) {
return null;
} else if (result instanceof String) {
return (String)result;
} *if (result instanceof List){* // new code
*return (String)((List)result).get(0);* // new code
}else {
return result.toString();
}
// return (String) Context.jsToJava(result,
String.class);
}@
----------------------------------------
Bug #741: LSC doesn't do modify operation
http://tools.lsc-project.org/issues/741
Author: Dmitriy S
Status: Assigned
Priority: Low
Assigned to: Raphaƫl Ouazana
Category: Core
Target version: 2.1.2
Problem in version: 2.1.1
Hello, I have a problem.
I have configured LSC (AD is source, mySQL is destination), I try to do
synchronization:
lsc -s ADSyncTask
Everything is OK, all records was created. Next I changed a value in AD and I
tried to do synchronization again.
lsc -s ADSyncTask
All entries: 8, to modify entries: 0, successfully modified entries: 0, errors: 0
Next, I deleted everything records in mySQL
lsc -c ADSyncTask
Everything is OK, all records was deleted.
--
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