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

PageComposer properties panel only shows properties directly on the backing class defined in the ParametersInfo

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.20.01
    • 2.20.02, 2.21.00
    • None
    • None

    Description

      In the org.hippoecm.hst.pagecomposer.jaxrs.model.ComponentWrapper there is code like:

      ParametersInfo parameterInfo = (ParametersInfo) componentClass.getAnnotation(ParametersInfo.class);
      Method[] methods = parameterInfo.type().getDeclaredMethods();
      for (Method method : methods) {

      The problem is, that is the parameterInfo.type() which is an interface extends from a super interface, we do not get to see the properties from the super interface. Changing

      parameterInfo.type().getDeclaredMethods(); into

      parameterInfo.type().getMethods();

      should solve this

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: