[MAGNOLIA-8333] Definitions-app generates warnings about deprecated interface org.ehcache.expiry.Expiry Created: 02/Mar/22  Updated: 11/Mar/22  Resolved: 11/Mar/22

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Tim Molenaar Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

6.2.17


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled

 Description   

Steps to reproduce

  1. Start Magnolia 6
  2. Go to definitions app
  3. Go to modules > cache
  4. Export problems
  5. See the following warning:

Definition: cache
Origin: /modules/cache/config
Details: Configuration was evaluated to a deprecated type: [org.ehcache.expiry.Expiry]
Location: /cacheFactory/delegateFactories/ehcache3/caches/keycloak-user-manager-cache/expiry
Type: Source data processing problem
Severity: DEPRECATED

The reason why this interface is still used, is because the deprecated class org.ehcache.core.config.ExpiryUtils is still used by the Magnolia-class info.magnolia.module.cache.ehcache3.configuration.EhCache3ConfigurationBuilderĀ  (line 122)

Expected results

No warnings about a deprecated interface

Actual results

Warnings about a deprecated interface

Workaround

-

Development notes


Generated at Mon Feb 12 04:31:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.