Disable of default search node results in access denied

Created on 13 August 2020, almost 4 years ago
Updated 26 January 2023, over 1 year ago

Problem/Motivation

After disabling the default node search I get an access denied error in D9.0.3

Steps to reproduce

Create a new node search. Afterwards it seems possible to disable the default node search, but it results in an error: access denied with this message:
Path: /admin/config/search/pages/manage/node_search/disable?destination=/admin/config/search/pages&token=V1ndDurnFyD0WKngYuHD2jncC68sLwaVGdfqNW_sYq0. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 117 in xxx/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).

An extra problem is: when somebody tries a search he gets both search options, so including the "hidden nodes".

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands PROMES

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024