When accessing HumanTasks older than 24 days stored in an Microsoft SQL Server you end up getting such an exception:
The datediff function resulted in an overflow. The number of dateparts separating two date/time instances is too large. Try to use datediff with a less precise datepart.. Stacktrace follows:
com.microsoft.sqlserver.jdbc.SQLServerException: The datediff function resulted in an overflow. The number of dateparts separating two date/time instances is too large. Try to use datediff with a less precise datepart.
Microsoft's DATEDIFF function returns an INT, which explains the ~ 24 days limit, cf.:
http://msdn.microsoft.com/de-de/library/ms189794.aspx
Could this be fixed by overriding/adding values to databaseSpecificDateDiff[123] in:
This is the controller panel for Smart Panels app
[CAM-2445] HumanTasks older than 24 days in stored in MSSQLServer lost forever
Fix Version/s | New: 7.2.0 [ 12997 ] |
Labels | New: EasyPick |
Fix Version/s | New: 7.1.5 [ 13392 ] |
Labels | Original: EasyPick | New: AD EasyPick |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | New: Thorben Lindhauer [ thorben.lindhauer ] |
Fix Version/s | Original: 7.2.0 [ 12997 ] | |
Fix Version/s | Original: 7.1.5 [ 13392 ] | |
Resolution | New: Cannot Reproduce [ 5 ] | |
Status | Original: In Progress [ 3 ] | New: Closed [ 6 ] |
Remaining Estimate | New: 0 minutes [ 0 ] | |
Original Estimate | New: 0 minutes [ 0 ] |
Hi Matthias,
Thanks for your Bug Report.
We will look into this in Kontext of our 7.2 Release.
Cheers
Robert