All work

Select view

Select search mode

 
50 of 367

Fix invalid Caffeine cache expiration time injection

Done

Description

Issue

Caffeine cache was discovered to be incorrectly configured in mod-orders, mod-orders-storage and mod-invoice, rendering the cache unusable because it will cache but expire the new entry immediately due to the nature of @Value Spring annotation and how the constructors are invoked during the Spring Dependency Injection.

Solution

Refactor all the affected classes that use @Value annotation to inject the expiration time to utilize @PostConstruct for the async cache initialization.

The fix implementation should avoid introducing any breaking changes and should potentially improve the performance of these modules.

Environment

None

Potential Workaround

None

Checklist

hide

Details

Assignee

Reporter

Priority

Story Points

Development Team

Thunderjet

Fix versions

Release

Trillium (R2 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created 3 hours ago
Updated 3 hours ago
Resolved 3 hours ago

Activity

Show:

Serhii_Nosko3 hours ago

Resolved in

Looks good, closing this ticket.

TestRail: Cases
TestRail: Runs

Flag notifications