Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-254

Generated bean method has incorrect return type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 1.01.04
    • 1.01.04
    • None
    • None
    • Beta 2

    Description

      My document type has a multiple value "imagelink" field (see screenshot).
      When generating bean using Essentials, resulting Java class contains getImage method with incorrect return type:

      @HippoEssentialsGenerated(internalName = "myhippoproject:image")
      public HippoGalleryImageSetBean getImage()

      { return getLinkedBeans("myhippoproject:image", HippoGalleryImageSetBean.class); }

      It should be:

      public List<HippoGalleryImageSetBean> getImage() {

      Attachments

        Activity

          People

            nvankampenhout Niels van Kampenhout
            nvankampenhout Niels van Kampenhout
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: