-
Bug
-
Resolution: Fixed
-
Critical
-
2.0.9
-
None
-
None
-
-
Empty show more show less
To reproduce:
- create Image Gallery component
- go to DMS and delete folder with images referenced by above image gallery
- re-render the page with image gallery
result: - component can't be edited anymore
expected result: - warning is displayed about missing target folder, but component remains editable.
Caused by: info.magnolia.jcr.RuntimeRepositoryException: javax.jcr.ItemNotFoundException: 27d8dac0-757a-44be-997a-5411997a2367 at info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.getReferencedContent(STKTemplatingFunctions.java:440) at info.magnolia.module.templatingkit.templates.components.ImageGalleryParagraphModel.getKeys(ImageGalleryParagraphModel.java:101) at info.magnolia.module.templatingkit.templates.components.ImageGalleryParagraphModel.getImages(ImageGalleryParagraphModel.java:86)
Acceptance criteria