Route "view.media_library.page" does not exist

Created on 10 June 2021, almost 4 years ago
Updated 22 March 2024, about 1 year ago

Problem/Motivation

The module admin toolbar tools provides a link to the media library page and expects the view media_library with display page to be enabled.
When the page is not enabled, you will get the error: Route "view.media_library.page" does not exist.

Steps to reproduce

Disable the page display from the media_library view.

Proposed resolution

I suggest we first check if the route exists before adding the link.

Remaining tasks

  • Review path

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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.

  • 🇹🇷Turkey Kartagis Istanbul

    I came across this issue because it just happened to me. It also seems the fix has been applied. I got the error when I attempted to use one time login link.

Production build 0.71.5 2024