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

Using Component Info inheritance leads to "Ignoring duplicate parameter" warnings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 4.2.4
    • 4.2.5
    • None
    • Flagged

    Description

      When having an inheritance structure in ComponentInfo classes, and doing some FieldGroup reordering as described at the very bottom at [1], there are warnings like this when opening the component properties:

      [ParametersInfoProcessor.orderPropertiesByFieldGroup:259] Ignoring duplicate parameter '<x>' in field group '<y>' of parameters info interface '<z>'

      Reproduction on an 11.2 archetype with Simple Content feature:

      1. Extend an Essentials component, e.g. EssentialsListComponent. Extend the InfoClass that is used by this component and annotate the component with it.
      2. Add an extra parameter to the new Info class. Use it in a @FieldGroup with the items already used by the Info class it extends.
      3. Use the new component  (and its info class) in the channel manager.
      4. In ChannelManager, go to content list and open the component properties.

      [1] https://www.onehippo.org/library/concepts/template-composer/annotate-channel-or-component-configuration-parameters-with-ui-directives.html

      Attachments

        Issue Links

          Activity

            People

              clientserviceteam Client Service Team
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: