[MGNLADVCACHE-99] Personalization cache on inherited personalized components not working Created: 30/May/18 Updated: 02/Mar/23 |
|
| Status: | Open |
| Project: | Advanced Cache |
| Component/s: | personalization |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Michael Kemser | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 4 |
| Labels: | cache, maintenance, personalization | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Debian (hosted), OS X (local development) |
||
| Attachments: |
|
||||
| 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: | |||||
| Visible to: |
Olaf Kozlowski, zzzzJens Kolb (Lemonize) (Inactive)
|
||||
| Epic Link: | Support | ||||
| Team: | |||||
| Description |
|
Hello Magnolia Team, we've run into another issue regarding personalization and caching. Short description:
I'll also provide an example: On the project we currently have an "Overlay" Area inheriting components to all subpages. In this area we have a personalized component which should be displayed under certain conditions. Hope this is somehow understandable Visiting the root page it's fine: (Breakpoint in PersonalizedCacheStore#isPersonalized)
The component itself (correctly wraped with the variant):
Visiting a subpage:
(The personalized component is correctly displayed on the subpage) This will lead to the method returning false and thus wrongly caching the page as a normal page.
I already thought about possible solutions: Thank you in advance for investigating the issue!
On behalf of AllSecur Olaf Kozlowski |