Details
-
Task
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
See TODOs in info.magnolia.imaging.caching.ImageGenerationJob. This object is used as a key in the computing map of CachingImageStreamer. It's assuming that the parameter of the job (as provided by ParameterProvider) has a correct implementation of equals()/hashCode(). This is not the case for DefaultContent.
Possible solutions:
- Make this compare the ParameterProvider instances instead of the parameter itself, so that ContentParameterProvider.equals() would compare, for instance, the uuid of its parameter.
- Wrap the nodes into a wrapper whose equals/hashCode methods use the uuid or other attribute for comparison
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
MGNLETK-6 Potential concurrency bug in imaging
-
- Closed
-