Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.

Problems Solutions coookbook

mankind edited this page Apr 6, 2022 · 4 revisions

Solutions to problems encountered

This page is for documenting solutions / fixes for some problems encoutered.

Problem - Wrong titles in collection filters

Here is the jira card https://ubiquitypress.atlassian.net/browse/REPO-1653

Solution / Fix - for Wrong titles in collection filters

This problem seemed to be occurring only via API calls and hence the wrong collection names only shows in the filters of the React frontend but not the regular hyku backend search filters.

Clearing the cache did not resolve the issue but since it is occuring only at the API/React frontend level, it means this is mostly related to the data in SOLR because the API queries SOLR only.

The solution that worked was to update the SOLR index by reindexing all existing collections.

Problem - not loading sub-authorities

Unable to initialize sub-authority repository_space for Qa::Authorities::Local. note repository_space is the name of a sub-authority so it could be somehing else like eg resource_types or languange or genres

Solution / Fix - for not loading sub-authorities

Run the installers

docker-compose exec web bash
bundle exec rails g hyku_addons:install

Clone this wiki locally