[MAGNOLIA-5028] Freemarker error occurs when preview of version Created: 14/May/13  Updated: 15/May/13  Resolved: 15/May/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 4.5.9

Type: Bug Priority: Major
Reporter: Milan Divilek Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
is duplicated by MAGNOLIA-4009 Templating: autocreation of area node... Closed
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   

Then we automaticly create comments area node when we first visit the page. But if page was not visited and version of this page was created then freemarker error occuers on page. Freemarker error is caused by NPE which is thrown from info.magnolia.templating.elements.AreaElement.canRenderAreaScript() method.



 Comments   
Comment by Jan Haderka [ 15/May/13 ]

Don't get me wrong, I'm glad it's finally fixed, but little search before creating duplicate issues would be also appreciated.

Generated at Mon Feb 12 04:01:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.