[MGNLRES-310] ResourceLinker might generate wrong URLs to resources when site has mapping with URIPrefix and is i18nized Created: 17/Jan/18 Updated: 29/Mar/22 Resolved: 06/Feb/18 |
|
| Status: | Closed |
| Project: | Magnolia Resources Module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.5, 2.6.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Jaroslav Simak | Assignee: | Jaroslav Simak |
| Resolution: | Fixed | 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
|
||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Sprint: | Kromeriz 130, Kromeriz 131, Kromeriz 133 | ||||||||||||||||
| Story Points: | 2 | ||||||||||||||||
| Team: | |||||||||||||||||
| Description |
|
Issue is caused by function that is called on templatingFunctions object. Function that generates the prefix must take into account:
Possible option is to extract part of code that generates prefix into a protected method and override it in MultiSite module. |
| Comments |
| Comment by Jaroslav Simak [ 24/Jan/18 ] |
|
For Release notes: |
| Comment by Roman Kovařík [ 29/Jan/18 ] |
|
Reopened: to be integrated to 5.5. |