-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
4.3.1
-
None
Opening this issue to link together all the specific issues already traced in other modules.
Several modules have now a non-optional dependency on the cache module and can't work if the cache module is not installed.
This is just because they need to register their own workspace for flushing (so it's just for a configuration required by the cache module), but since they use a task which is inside the cache module for this, the dependency becomes required.
At the moment this have been fixed by catching the exception thrown when trying to instantiate the task, since we couldn't find a better solution. Considered options are:
- move the cache flushing task to core, but it's undesidered since all the modules will now only depend on the last magnolia core containing such task (4.3.2?)
- copy the cache flush task to each single module (pretty bad for the duplication of code)
- use reflection to instantiate the task? Not better than catching the exception
- is depended upon by
-
MGNLDATA-100 Make dependency on the cache module optional
- Closed
-
MGNLDMS-183 Make dependency from the cache module optional
- Closed
-
MGNLINTEMPL-15 Make dependency from the cache module optional
- Closed
-
MGNLRES-25 Make dependency from the cache module optional
- Closed
- relates to
-
MAGNOLIA-2258 Remove dependency on exchange-simple/activation from cache (filter ordering)
- Closed