mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:37:00 +00:00
Bug #1: getActiveCallLimitsByConsumerIdAtDate ignored date parameter - Used LocalDateTime.now() instead of provided date parameter - Broke queries for future dates - API endpoint /active-rate-limits/{DATE} was non-functional Bug #2: Hour-based caching caused off-by-minute timing bug - Query truncated to start of hour (12:00:00) - Rate limits created mid-hour (12:01:47) not found - Condition: fromDate <= 12:00:00 failed when fromDate = 12:01:47 Bug #3: Timezone mismatch between system and tests - Code used ZoneId.systemDefault() (CET/CEST) - Tests use ZoneOffset.UTC - Caused hour boundary mismatches Solution: - Use actual date parameter in getActiveCallLimitsByConsumerIdAtDate - Query full hour range (12:00:00 to 12:59:59) instead of point-in-time - Use UTC timezone consistently - Add debug logging for troubleshooting Note: Test still failing - may be cache or transaction timing issue. Further investigation needed. See RATE_LIMITING_BUG_FIX.md for detailed analysis. |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||
| web-app_2_3.dtd | ||