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

TaxonomyManager not available from component manager

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 15.2.1
    • None
    • plugins-taxonomy
    • None

    Description

      On https://xmdocumentation.bloomreach.com/library/concepts/plugins/taxonomy/delivery-tier.html there's documentation how to get a TaxonomyManager in an HST component:

      TaxonomyManager taxonomyManager =
        HstServices.getComponentManager().getComponent(TaxonomyManager.class.getName());
      Taxonomy taxonomy = taxonomyManager.getTaxonomies().getTaxonomy("exampletaxonomy");
      

      There's this bean in the SpringComponentManager-taxonomymanager.xml from the hippo-plugin-taxonomy-hstclient module, but it appears to not load.

        <bean id="TaxonomyManager" class="org.onehippo.taxonomy.impl.TaxonomyManagerImpl">
         ....
        </bean>
      

       

      See also the community thread https://community.bloomreach.com/t/display-taxonomy-on-page/936/3

      Attachments

        Activity

          People

            Unassigned Unassigned
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: