Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Platform 223 - 2019 Follow-up
Description
As mentioned in HSTTWO-4676, the method getContentBlocks does not get generated for a contentblocks field added via essentials.
Reproduction:
- Create a 14 project from the archetype
- Add the news feature via essentials
- Add a content blocks field to the news document type, via essentials
- Add the following snippet anywhere in /repository-data/webfiles/src/main/resources/site/freemarker/hstdefault/newspage-main.ftl:
<#list document.class.methods as m> ${m.toString()}<br/> </#list>
- Expected (but absent) : a method named getContentBlocks, with a signature like:
public java.util.List org.example.beans.NewsDocument$Newsdocument$SvmMpEPx.getContentblocks()
Attachments
Issue Links
- causes
-
HSTTWO-4696 Ensure dynamic beans generation works properly for content blocks fields when exposed via PageModel API
- Closed
- relates to
-
CMS-12812 Fix error log in Runtime Beans when no corresponding supertype is found
- Closed