Details
-
Bug
-
Resolution: Won't Fix
-
Neutral
-
None
-
6.2.35
-
None
-
None
Description
Steps to reproduce
- Link "/destinations/polar.png" asset to a richtext field on a Text and image component - link <a href="/dam/jcr:baa86f2d-b1c6-413e-9879-bc2b166f9f1d/polar.png" class="disabled">polar</a> is generated and the asset can be downloaded.
- Delete the "/destinations/polar.png" asset and rename "/destinations/asia.png" to "/destinations/polar.png"
Expected results
Link in the richtext field on the Text and image component is still <a href="/dam/jcr:baa86f2d-b1c6-413e-9879-bc2b166f9f1d/polar.png" class="disabled">polar</a> and the asset can not be downloaded.
Actual results
Link in the richtext field on the Text and image component is regenerated to <a href="/dam/jcr:20e4d7f7-3160-4670-9acb-5c87231088dd/asia.png" class="disabled">polar</a> and the asset can be downloaded.
Development notes
LinkUtil#createLinkInstance generates a Link based on node path if provided node uuid does not exists.
Checklists
Acceptance criteria
Attachments
Issue Links
- supersedes
-
MGNLCDEP-133 Strange behavior regarding assets dependencies on removal
-
- Accepted
-