Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3405

ParametersInfo annotation present on HstComponent superclass does not work

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      Better that the annotation scanning is also done on superclasses if not present on the current class. At least this should be improved on

      ParameterUtils
      DocumentParamsScanner
      HstParameterInfoProxyFactoryImpl
      ContainerItemComponentResource
      DocumentUtils

      because they all use

                  ParametersInfo info = componentClass.getAnnotation(ParametersInfo.class);
      

      which does not scan super classes / interfaces. Utility can be added to org.hippoecm.hst.util.AnnotationsScanner which now only works for methods and not for classes

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aschrijvers Ard Schrijvers
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: