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

Spring wired Components ParametersInfo scanning does not work properly

    XMLWordPrintable

Details

    • Flagged
    • Platform 220 - Hardening, Platform 221 - 14.0 CodeFreeze, Platform 222 - 14.0 Hangover, Platform 223 - 2019 Follow-up, Platform 227 - Taxonomy 2

    Description

      This relates to Spring wired Components, also see [1]
      We need to take into account spring wired components. If we do that correctly, we can also drop the requirement in [1] wrt "You should set @hst:parametersinfoclassname property (since v12.1) to specify the FQCN of the component parameters info interface (which is equivalent to the type attribute of org.hippoecm.hst.core.parameters.ParametersInfo annotation in the component class. So, the component parameters info can be scanned by the new @hst:parametersinfoclassname property value if needed (while using Channel Manager for instance)." since we can just fetch the HstComponent. However, we need to fetch the HstComponent from the correct HST ComponentManager, this involves a set of changes and making sure that via a classloader we can retrieve the correct ComponentManager

      [1] https://documentation.bloomreach.com/library/concepts/web-application/spring-managed-hst-components.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: