Fatal error in undoListing due to undefined property

Created on 3 February 2023, about 2 years ago
Updated 4 February 2023, about 2 years ago

Problem/Motivation

PHP encounters a fatal error when trying to render /admin/content/scanner/undo (the scanner.undo route)

Steps to reproduce

Install the module and go to /admin/content/scanner/undo when there is at least one undo listing to display.

Proposed resolution

It looks like this was introduced in a coding standards commit bdb37bb7 - when making the date formatter service dependency injected, the actual property got the proper camelCase name and the reference to it trying to call ->format() got snake_case. Just need to correct that reference.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bvoynick

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

Comments & Activities

Production build 0.71.5 2024