[MAGNOLIA-9291] LinkUtil.createLink generates invalid links for pages with a dot in the page name Created: 09/Feb/24 Updated: 09/Feb/24 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 6.2.42 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Jonathan Heard | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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
|
| Description |
|
The static `LinkUtil.createLink` Method calls indirectly the `getURI` Method from `URI2RepositoryMapping` class. Since this commit it hower wrongly adds a `dot` suffix when the path includes a dot. Steps to reproduce
.. Logs, screenshots, gifs... Expected resultsThe method creates a valid link Actual resultsThe method doesn't create a valid link WorkaroundNot using site names with a dot (but explain that to editors Development notes |