Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12826

Autogenerated beans do not work correctly for image sets

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • site-toolkit
    • Flagged
    • Orion
    • Pulsar 239 -DynamicComponents4, BrXM Backlog

    Description

      The project uses no custom image sets. There are no beans defined in the code except a BaseDocument bean which is empty and extends HippoDocument. All other project types derive from the base document.

      First a compound of type Image Link is added to the document type.
      Next a link is generated for this image using hst.link and displayed using img tag.
      This will give "freemarker.core.InvalidReferenceException: The following has evaluated to null or missing"

      Digging deeper, the generated bean does not contain any image compounds. Other compounds (eg HippoHtml) are available.

      Tried the same in an archetype project and it does work there. The essentials added functionality generally does add a bean, but if you delete the bean it still works.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Hippo Helpdesk Hippo Helpdesk
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: