Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4690

Dynamic beans support for content blocks doesn't generate method getContentBlocks for a contentblocks field added via essentials

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    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

          Activity

            People

              mchatzidakis Minos Chatzidakis
              mchatzidakis Minos Chatzidakis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: