Do not process _quant403 and _quant404 if they don't exist

Created on 5 November 2023, about 1 year ago
Updated 1 March 2024, 9 months ago

Problem/Motivation

There are 404s in the logs for /_quant403 and /_quant404 when they don't exist because route items are created for them no matter what.

Steps to reproduce

  • Install Drupal 9/10
  • Install and configure quant/quant_api modules
  • Add some nodes
  • Run a seed on the nodes
  • Check the logs
  • Result: There will be page not found logs for /_quant403 and /_quant404
  • Expected: Should not be page not found logs for these as they shouldn't be processed if they don't exist

Proposed resolution

Check that /_quant403 and /_quant404 exist before adding a route item.

Remaining tasks

  • Update code
  • Review and test
  • Commit :)

User interface changes

No unnecessary logs.

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

Comments & Activities

Production build 0.71.5 2024