Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
3.0.25
-
None
-
None
Description
The damLinkField applies a 240 variation for the preview. However, if a 240 variation is not present in the theme then this leads to warning in the log.
2023-09-12 12:36:16,330 WARN ia.templating.imaging.VariationAwareImagingSupport: Supplied variation [240] could not be found. Please update your configuration.
Reproduce
- Edit the file travel-demo-theme.yaml to remove the 240 variation. This can be done as a hotfix here.
- Open the page /travel/about
- Add a Link List component
- Add a Link component and switch to the Image tab
- Click "Select new" and select a image
- Check the log for the warning mentioned above
Expected
There shouldn't be any warning.
Actual
Warning is produced regarding the missing variation.
Notes
- Even if the variation cannot be applied the result still looks fine as the front end enforces a 240 height.
- When the variation is applied the image looks blurry because of MGNLIMG-196
- I would propose we simply remove the line where the variation is applied in damLinkField.
Checklists
Acceptance criteria