Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
content_moderation.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2020 at 06:38 UTC
Updated:
7 Sep 2020 at 01:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dpiA fix would simply change the parameter type to
TimeInterface, notTime.Comment #3
codersukanta commentedComment #4
codersukanta commentedReplaced
\Drupal\Component\Datetime\Time.with\Drupal\Component\Datetime\TimeInterface.Comment #5
sam152 commentedIt would have been nice to remove it altogether with #2849279: Make the moderation control form an entity form so that it validates entities before save, however in the meantime, this is definitely wrong and is an easy fix to address.
Comment #6
larowlanConfirmed there are no BC implications here if someone extended the class https://3v4l.org/pOokj
Not eligible for backport because of the nature of the patch.
Committed 664dee0 and pushed to 9.1.x. Thanks!