Hi, The DSpace 5.x Discovery documentation[0] incorrectly instructs the user to use the "SidebarFacetConfiguration" class to add sidebar facets, but this results in errors at startup:
Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in file [/Users/aorth/dspace/config/spring/api/discovery.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in file [/Users/aorth/dspace/config/spring/api/discovery.xml]: Cannot resolve reference to bean 'searchFilterAuthor' while setting bean property 'sidebarFacets' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchFilterAuthor' defined in file [/Users/aorth/dspace/config/spring/api/discovery.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sortOrderSidebar' of bean class [org.dspace.discovery.configuration.SidebarFacetConfiguration]: Bean property 'sortOrderSidebar' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? Using the "DiscoverySearchFilterFacet" class works as expected. DSpace 5.1. Regards, [0] https://wiki.duraspace.org/display/DSDOC5x/Discovery#Discovery-Searchfilters&sidebarfacetsCustomization -- Alan Orth alan.o...@gmail.com https://englishbulgaria.net https://alaninkenya.org https://mjanja.ch "In heaven all the interesting people are missing." ―Friedrich Nietzsche GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0 -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.