[MAGNOLIA-2899] Make ServletDispatchingFilter i18n aware Created: 14/Oct/09 Updated: 23/Jan/13 Resolved: 15/Oct/09 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.1.1 |
| Fix Version/s: | 4.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jan Haderka | Assignee: | Jan Haderka |
| 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
|
||||||||||||||||||||||||
| Description |
|
When i18n is enabled and using DefaultI18nContentSupport localized links to content in DMS result in 404. The links created looks like (which seems correct): /magnoliaAuthor/en_GB/dms/demo-project/downloads/Magnolia_Flyer_4-0/Magnolia%20Flyer%204.0.pdf /magnoliaAuthor/en_GB/dms/demo-project/img/logos/magnolia-logo-print.gif /magnoliaAuthor/en_GB/dms/demo-project/videos/magnolia_intro_480px.mov It makes no difference whether locale is including the country code or not, the content from DMS still can't be retrieved. The issue is caused by the ServletDispatchingFilter not being aware of possible i18n locale in the uri. |