Issue #626 has been updated by Clément OUDOT.

I confirm, my date was false. Sorry for the noise.
----------------------------------------
Bug #626: Interger limitation in unixTimestampToADTime
http://tools.lsc-project.org/issues/626

Author: Clément OUDOT
Status: Rejected
Priority: Normal
Assigned to: 
Category: Core
Target version: 
Problem in version: 


I try to use unixTimestampToADTime but the method expect an Integer (or a 
String that will be converted into Integer).

Java has a limitation on Interger range: 
http://www.cafeaulait.org/course/week2/02.html

So I got those errors:
<pre>
org.lsc.utils.JScriptEvaluator - oct. 21 16:44:45 - ERROR - 
javax.script.ScriptException: sun.org.mozilla.javascript.EvaluatorException: 
Impossible de convertir 185542587100800 en java.lang.Integer (<Unknown 
source>#10) in <Unknown source> at line number 10
</pre>

We should use long to be able to parse big timestamps.



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