Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8333

Definitions-app generates warnings about deprecated interface org.ehcache.expiry.Expiry

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • None
    • None
    • None
    • 6.2.17

    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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              t.i.molenaar Tim Molenaar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD