[MGNLCACHE-243] EhCache3Factory ctor should not rely on deprecated Path.getCacheDirectoryPath() Created: 08/Jun/21 Updated: 11/Jun/21 Resolved: 11/Jun/21 |
|
| Status: | Closed |
| Project: | Cache Modules |
| Component/s: | ehcache3 |
| Affects Version/s: | 5.9.3 |
| Fix Version/s: | 5.9.4 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Done | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Sprint: | Maintenance 61, Maintenance 62 |
| Story Points: | 3 |
| Description |
|
Lately tests at EhCache3FactoryTest have started failing on Jenkins but not locally. At least on Jenkins and for reasons not yet fully clear, SystemProperty.getProperty(MagnoliaConfigurationProperties.MAGNOLIA_CACHE_STARTDIR) would return null in deprecated info.magnolia.cms.core.Path#getCacheDirectory. Let us replace the usage of the deprecated method for a start. |
| Comments |
| Comment by Federico Grilli [ 09/Jun/21 ] |
|
Backported to 5.8.4 as I mistakenly thought it was used by Magnolia 5.7.x but it was actually for no longer supported 6.1.x series. Magnolia 5.7.x uses cache 5.6.x which seems not be affected by the issue |