[MAGNOLIA-4580] Areas ignore their i18nBasename Created: 12/Oct/12 Updated: 26/Jul/13 Resolved: 19/Jul/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | templating |
| Affects Version/s: | 4.5.4, 5.0 |
| Fix Version/s: | 4.5.10, 5.0.2, 5.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andreas Antener | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | i18n | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Patch included: |
Yes
|
| 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
|
| Testcase included: |
Yes
|
| Description |
|
If we add a new area to the prototype with custom i18nBasename, the title will not be loaded on STK pages. Instead it shows the label. The same problem occurs if I want to add an area from STK to a custom component. E.g.:
Now the title from the STK area will not show. |
| Comments |
| Comment by Andreas Antener [ 08/Feb/13 ] |
|
To clarify this issue: I propose a change in info.magnolia.templating.elements.AreaElement. See attached patch (includes a test case). I admit that this is a minor issue, but if the labels don't get resolved it always looks like there's something broken on the front end. Unfortunately I'm not quite sure how big the risk of breaking existing configurations would be. Regards, |