[MAGNOLIA-6887] TranslationService replaces html links in messages Created: 25/Nov/16 Updated: 23/Feb/17 Resolved: 23/Feb/17 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | i18n |
| Affects Version/s: | 5.4.9, 5.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Frank Sommer | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | support | ||
| 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
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
If you want to render a i18n message which contains a html link, the link will be replaced by <a rel="nofollow">. It is reproducible on demoauthor instance. Open the groovy console and execute the following statement. info.magnolia.objectfactory.Components.getComponent(info.magnolia.i18nsystem.TranslationService.class).translate(new info.magnolia.i18nsystem.FixedLocaleProvider(Locale.ENGLISH), ["pages.noAvailableTemplatesAlert.createTemplateLink"] as String[]) |
| Comments |
| Comment by Diana Racho [ 19/Jan/17 ] |
|
This error also occurs in 5.4.8. |
| Comment by Frank Sommer [ 22/Feb/17 ] |
|
Bug occurs on current (5.5.2) version, too. See the "start over" link on https://demopublic.magnolia-cms.com/contact.html?mgnlFormToken=58480b3f-e188-44b3-b582-60f9cf4671e9 and |