Issue #549 has been updated by Maxime Pelletier.

File lsc.xml added

Hi Raphaƫl,

I can't explain why you don't get the same error message as me. When I try to 
put the same line in my lsc.xml file, it generates an error.

Attached to this message, you'll find the lsc.xml file with which I get the 
error message. I use it to generate the "rid" attribute from the already 
populated "uidnumber" attribute.

I had the problem with LSC 2.0 and 2.0.1
----------------------------------------
Bug #549: dstBean not defined in dry-run mode
http://tools.lsc-project.org/issues/549

Author: Maxime Pelletier
Status: Feedback
Priority: Normal
Assigned to: Maxime Pelletier
Category: Core
Target version: 2.0.2
Problem in version: 2.0.1


When running a task in dry-run mode, the dstBean object is not defined:

<pre>
Execution de /LSC/bin/lsc -n  -f /LSC/task/eleves-openldap/etc  -s 
ElevesAccount  
Nov 23 14:11:15 - DEBUG - Loading XML configuration from: 
/LSC/task/eleves-openldap/etc/lsc.xml
Nov 23 14:11:16 - INFO  - Reflections took 410 ms to scan 1 urls, producing 60 
keys and 226 values 
Nov 23 14:11:16 - DEBUG - Importing XML schema file: schemas/lsc-core-2.0.xsd
Nov 23 14:11:16 - INFO  - Logging configuration successfully loaded from 
/LSC/task/eleves-openldap/etc/logback.xml 
Nov 23 14:11:16 - INFO  - LSC configuration successfully loaded from 
/LSC/task/eleves-openldap/etc/
Nov 23 14:11:16 - INFO  - Connecting to LDAP server 
ldap://ldap.myldap.com:389/dc=myldap,dc=com as uid=admin,dc=myldap,dc=com
Nov 23 14:11:17 - INFO  - Starting sync for ElevesAccount
Nov 23 14:11:18 - ERROR - javax.script.ScriptException: 
sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "dstBean" is not 
defined. (<Unknown source>#3) in <Unknown source> at line number 3
Nov 23 14:11:18 - ERROR - javax.script.ScriptException: 
sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "dstBean" is not 
defined. (<Unknown source>#3) in <Unknown source> at line number 3
Nov 23 14:11:18 - ERROR - javax.script.ScriptException: 
sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "dstBean" is not 
defined. (<Unknown source>#3) in <Unknown source> at line number 3
Nov 23 14:11:18 - DEBUG - Create condition false. Should have added object 
uid=0313478,ou=PERSONNE,dc=myldap,dc=com
</pre>

When running the same task without dry-run mode, I don't have this problem.


-- 
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