[MAGNOLIA-8951] Link generation for non existing node uuid causes unexpected behavior Created: 15/Jun/23 Updated: 20/Jun/23 Resolved: 19/Jun/23 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 6.2.35 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Antonín Juran | Assignee: | Antonín Juran |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: | |||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||
| Epic Link: | Nucleus Quality Maintenance | ||||||||||||
| Team: | |||||||||||||
| Work Started: | |||||||||||||
| Description |
Steps to reproduce
Expected resultsLink 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 resultsLink 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 notesLinkUtil#createLinkInstance generates a Link based on node path if provided node uuid does not exists. |