Details
-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
5.4
-
None
-
None
-
Magnolia 5.4 M6, Mac OS X 10.10.2 (x86_64), Java 1.7.0_79, templating-essentials-models 1.0.0-m1
Description
Wrong indentation in a YAML page template definition leads to a NullPointerException in TemplateDefinitionRegistry.
YAML file with indent error on lines 11-14:
hello.yaml
dialog: hello-magnolia:pages/helloPageProperties
renderType: freemarker
templateScript: /hello-magnolia/templates/pages/hello.ftl
title: Hello template
visible: true
areas:
main:
renderType: freemarker
#dialog:
templateScript: /hello-magnolia/templates/areas/main.ftl
type: list
availableComponents:
quotation:
id: hello-magnolia:components/quotation
Error log: http://pastebin.com/CSbSDFJZ
Checklists
Acceptance criteria
Attachments
Issue Links
- supersedes
-
MAGNOLIA-6160 Wrong indentation in YAML crashes instance
-
- Closed
-