az-digital / az_quickstart

UArizona's web content management system built with Drupal 10.
https://quickstart.arizona.edu
GNU General Public License v2.0
30 stars 20 forks source link

RouteNotFoundException on Reorder Carousel Items page #3487

Closed bberndt-uaz closed 1 week ago

bberndt-uaz commented 2 weeks ago

Problem/Motivation

I noticed a new error in the log when testing some PRs related to the Quickstart carousel.

Describe the bug

A php error is logged upon each time a user visits Reorder Carousel Items view page (/admin/az-carousel/reorder-carousel-items). The error is:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.this" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of /app/web/core/lib/Drupal/Core/Routing/RouteProvider.php)

This issue does not seem to affect the Reorder People view page (/admin/az-person/reorder-people).

To Reproduce

Steps to reproduce the behavior:

  1. Install the Quickstart Carousel Item module
  2. Create at least one carousel item
  3. Go to the front page and click the Reorder Carousel Items button
  4. Go to Reports > Recent Log Messages and observe the newly logged php error

Proposed resolution

Applying the latest patch from this drupal.org issue for the DraggableViews module appears to fix this error: