Usage tab does not upcast node parameter

Created on 20 November 2019, almost 5 years ago
Updated 21 June 2024, 5 months ago

The /node/{node}/bynder-usage route does not properly upcast the node parameter because it is not a parameter in \Drupal\bynder\Controller\BynderMediaUsage::bynderMediaInfo. This means that if we attempt to use \Drupal::routeMatch()->getParameter('node') when that page is rendered, it will return the string value, rather than the expected node object.

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

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.71.5 2024