Am Montag, 03. Juni 2019 15:50 CEST, Clément OUDOT <[email protected]> 
schrieb: 
 
> 
> Le 03/06/2019 à 15:45, Ralf Mattes a écrit :
> >  
> > Am Montag, 03. Juni 2019 15:40 CEST, "Ralf Mattes" <[email protected]> 
> > schrieb: 
> >  
> >  
> >> Jun 03 14:57:19 - INFO  - Starting sync for Sync-Students
> >> Jun 03 14:57:22 - ERROR - Fail to compute expression: 
> >> dstBean.getMainIdentifier() on id=3295
> >> Reason: javax.script.ScriptException: TypeError: null has no such function 
> >> "getMainIdentifier" in <eval> at line number 5
> >> Jun 03 14:57:22 - ERROR - Error while synchronizing ID 
> >> {mhfreiburgmatrikelnummer=3295}: org.lsc.exception.LscServiceException: 
> >> javax.script.ScriptException: TypeError: null has no such function 
> >> "getMainIdentifier" in <eval> at line number 5
> >> Jun 03 14:57:30 - ERROR - Fail to compute expression: 
> >> dstBean.getMainIdentifier() on id=4891
> >> Reason: javax.script.ScriptException: TypeError: null has no such function 
> >> "getMainIdentifier" in <eval> at line number 5
> >> Jun 03 14:57:30 - ERROR - Error while synchronizing ID 
> >> {mhfreiburgmatrikelnummer=4891}: org.lsc.exception.LscServiceException: 
> >> javax.script.ScriptException: TypeError: null has no such function 
> >> "getMainIdentifier" in <eval> at line number 5
> >> Jun 03 14:57:41 - ERROR - All entries: 556, to modify entries: 554, 
> >> successfully modified entries: 0, errors: 2
> > Ah, I just cranked up my server logging: those entries do not exist in the 
> > destination server. Why would this raise an error?
> >
> >  
> 
> 
> What did you configure in mainIdentifier?

Here's the relevant section (I must admit that I wrote the quite some time ago):

 <propertiesBasedSyncOptions>
        <mainIdentifier>dstBean.getMainIdentifier()</mainIdentifier>
        <defaultDelimiter>;</defaultDelimiter>
        <defaultPolicy>FORCE</defaultPolicy>

TIA, RalfD


_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to