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

BeanWriter uses wrong method for multiple resource compound

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 4.6.0, 13.0.0
    • None

    Description

      Add a resource compound to a document and use the BeanWriter to generate the method in the bean. It will create

          @HippoEssentialsGenerated(internalName = "myhippoproject:hippo_resource")
          public List<HippoResourceBean> getHippo_resource() {
              return getBeans("myhippoproject:hippo_resource",
                      HippoResourceBean.class);
          }
      

      but the method getBeans does not exist. Verified on 12.5 and 11.2. Most likely getChildBeans should be used.

      Attachments

        Activity

          People

            clientserviceteam Client Service Team
            jfloor Jasper Floor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: