You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method c.s.common.notification.NotificationLogFactory.calculateCurrentNotificationLogId computes an erroneous NotificationLogId when the event store is empty. For example NOTIFICATIONS_PER_LOGis set to 20. Then at line 61, 0 % 20 = 0. Then at line 64 remainderis set to 20. Finally, at line 67, lowis set to 0 - 20 + 1 = 19.
By changing the condition at line 63 into remainder == 0 && count > 0, the issue is fixed.
The text was updated successfully, but these errors were encountered:
The method
c.s.common.notification.NotificationLogFactory.calculateCurrentNotificationLogId
computes an erroneousNotificationLogId
when the event store is empty. For exampleNOTIFICATIONS_PER_LOG
is set to 20. Then at line 61, 0 % 20 = 0. Then at line 64remainder
is set to 20. Finally, at line 67,low
is set to 0 - 20 + 1 = 19.By changing the condition at line 63 into
remainder == 0 && count > 0
, the issue is fixed.The text was updated successfully, but these errors were encountered: