Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2022 at 08:09 UTC
Updated:
25 Apr 2026 at 08:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
dpiComment #4
dpiComment #5
chaubeyji commentedComment #6
joachim commentedLGTM
Comment #7
larowlanCan you elaborate on the scenarios where the user ID or message are null
The entity one can occur when the user has been deleted.
Comment #8
dpiI was able to reproduce NULL log message errors in current core with this codeset: MR / Test results, primarily failing in revision UI tests and Migrate tests. However the user ID as null trigger didnt seem to error.
Pushed new tests which triggered exceptions with NULL for both user ID and log message. I anticipate this kind of issue to only arise when creating revisions programmatically.
Comment #9
larowlanThe MR still has the type-hint change for that - should we roll that change back?
Comment #10
larowlanDiscussed with @dpi who pointed out that the tests demonstrate the issue with user ID, so ignore #9
Comment #11
smustgrave commentedHiding the files to avoid confusion.
MR has no open threads and comments look good.
Not sure what else to verify.
Comment #13
catchRemoving credit for the patch in #5, it duplicates the MR and doesn't include the new test coverage.
This looks good to me, tests that confirm the existing behaviour, and interface docs changes (which doesn't change the API as such just document the existing one properly).
Committed/pushed to 10.1.x, thanks!
Comment #15
quietone commented