Actions
Defect #2026
closedPurging temp files fails for higher TTL
Start date:
01/29/2020
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
Version: 9.7.11
We increased temporary files TTL to twice the default value - 28 days (idm.sec.core.attachment.tempTtl=2419200000) - and purging temp files fails with the following error:
2020-01-29 12:31:57.371 INFO 1497 --- [MessageBroker-1] e.b.i.c.m.s.i.DefaultLongPollingManager : Start scheduled clearUnUseSubscribers ... 2020-01-29 12:31:57.565 ERROR 1497 --- [MessageBroker-2] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task. java.lang.ArithmeticException: integer overflow at java.lang.Math.toIntExact(Math.java:1011) at eu.bcvsolutions.idm.core.ecm.service.impl.DefaultAttachmentManager.purgeTemp(DefaultAttachmentManager.java:359)
Actions