Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15206

Extending a component annotation and applying it via "hst:parametersinfoclassname" overrides all base annotations

    XMLWordPrintable

Details

    • Flagged
    • Orion
    • Ready for refinement

    Description

      Reproduction path:

      • create a number of catalog components using same class (org.onehippo.cms7.essentials.components.info.EssentialsDocumentComponent)
      • extend EssentialsDocumentComponentInfo  annotation and change pickerSelectableNodeTypes to something different e.g. myproject:eventsdocument 
      • apply above created annotation to  one of your catalog components via hst:parametersinfoclassname **

      Form this moment on, all other components will only be able to pick document type(es) which are defined in our newly introduced annotation (myproject:eventsdocument in our example)

       

       

      NOTE: this used to work correctly prior to 14.3 release 

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmilicevic Marijan Milicevic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: