Daniel-KM / Omeka-S-module-AdvancedSearch

Module for Omeka S that improves search with new fields, auto-suggest, filters, facets, specific pages, etc.
Other
3 stars 2 forks source link

incompatibility with DomainManager module #5

Closed tdombos closed 2 weeks ago

tdombos commented 1 year ago

If the DomainManager module is active, and one opens the search page created with AdvancedSearch in the website, the following error messages shows up:

Laminas\Router\Exception\RuntimeException
Route with name "search-page-6" not found

Details:

Laminas\Router\Exception\RuntimeException: Route with name "search-page-6" not found in [...]/html/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php:364
Stack trace:
#0 [...]/html/vendor/laminas/laminas-navigation/src/Page/Mvc.php(276): Laminas\Router\Http\TreeRouteStack->assemble(Array, Array)
#1 [...]/html/vendor/laminas/laminas-view/src/Helper/Navigation/Menu.php(501): Laminas\Navigation\Page\Mvc->getHref()
#2 [...]/html/vendor/laminas/laminas-view/src/Helper/Navigation/Menu.php(368): Laminas\View\Helper\Navigation\Menu->htmlify(Object(Laminas\Navigation\Page\Mvc), true, false)
#3 [...]/html/vendor/laminas/laminas-view/src/Helper/Navigation/Menu.php(242): Laminas\View\Helper\Navigation\Menu->renderNormalMenu(Object(Laminas\Navigation\Navigation), ' class="navigat...', '', 0, NULL, false, true, false, 'active')
#4 [...]/html/themes/hatter/view/layout/layout.phtml(92): Laminas\View\Helper\Navigation\Menu->renderMenu()
#5 [...]/html/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(519): include('/chroot/home/lm...')
#6 [...]/html/index.php(36): Laminas\View\Renderer\PhpRenderer->render(NULL)
#7 {main}
Daniel-KM commented 2 weeks ago

Fixed with https://github.com/hafizchin/DomainManager/pull/16