[MGNLREST-779] Localised content is not returned when using header Created: 19/Dec/23 Updated: 19/Dec/23 |
|
| Status: | Open |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Jonathan Ayala | Assignee: | Unassigned |
| Resolution: | Unresolved | 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
|
||||
| Date of First Response: | |||||
| Description |
Steps to reproduce in travel demo
Expected resultsResponses are returned in the corresponding language (property title) as explained in the docs Actual resultsResponse when Accept-Language is set to de is returned in English. WorkaroundDevelopment notes |
| Comments |
| Comment by Marvin Kerkhoff [ 19/Dec/23 ] |
|
Just to add some more information: The issue seemed to be within the cache policy. If i exclude uris from this server cache it works without issue. The problem is that a request without URL change but with a change in the language header will not be handled as a seperate cache entry within magnolia. You always get the first requested entry from the cache. |