[MAGNOLIA-4462] Force session refresh after auto-creation of areas Created: 04/Jun/12 Updated: 19/Jul/12 Resolved: 29/Jun/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | templating |
| Affects Version/s: | 4.5.3 |
| Fix Version/s: | 4.5.4 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Robert Šiška | Assignee: | Jan Haderka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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
|
||||||||
| Description |
|
In certain cases areas need to be auto created when rendering pages. In order to ensure smooth creation, it is done in system context. If server is under heavy load, refresh of the user session that depends on area to exist will not see it fast enough. Example of error (longer log in attachment): ERROR freemarker.runtime 01.06.2012 16:01:37 -- Template processing error: "info.magnolia.rendering.engine.RenderException: Can't access area node [metaNavigation] on [node /demo-features/aggregation-paragraphs/dummy-events]" info.magnolia.rendering.engine.RenderException: Can't access area node [metaNavigation] on [node /demo-features/aggregation-paragraphs/dummy-events] freemarker.template.TemplateException: info.magnolia.rendering.engine.RenderException: Can't access area node [metaNavigation] on [node /demo-features/aggregation-paragraphs/dummy-events] Caused by: info.magnolia.rendering.engine.RenderException: Can't access area node [metaNavigation] on [node /demo-features/aggregation-paragraphs/dummy-events] It fails on multiple sites on nodes [metaNavigation] or [promos]. |