Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Apr 2024 at 06:33 UTC
Updated:
23 Feb 2026 at 16:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
randy tang commentedComment #3
dineshkumarbollu commented+1 for error, i will review patch
Comment #4
dineshkumarbollu commentedPatch applied cleanly and fix the issue, Issue also reported in published_date module see https://www.drupal.org/project/publication_date/issues/3424575
Comment #5
dineshkumarbollu commentedComment #6
cilefen commentedThis looks like a workaround. How did this become a Core bug?
Comment #7
quietone commentedI agree with #6. And there has been no response for more information here for 4 months so I am closing this as works as designed.
If you show this is a core bug, then add a comment and reopen the issue.
Thanks!
Comment #8
charlliequadros commentedPatch updated to Drupal version 10.3.1.
Comment #9
paulmckibbenI'm seeing this error on a site running Drupal 10.3.4 when I try to look at revisions for a taxonomy term. The revision in question is returning null for getRevisionCreationTime(), and that is leading to the exception described in this issue. I am not able to reproduce it on a clean Drupal 10 install, which leads me to suspect that the problem of the null revision creation time might be an artifact of upgrading this site over the years from Drupal 8 to 9 to 10.
I don't know whether this is a one-off or some obscure upgrade bug, so I don't think it's worth reopening the issue. Documenting what I found in case it's helpful to somebody else.
Comment #10
ordasoft commentedHello
With "revision" check, the errors fixed like before proposed:
file:
core/lib/Drupal/Core/Entity/Controller/VersionHistoryController.php
code:
replace to code:
Regards
Comment #11
sanjay.maharjan commentedHi ,
I got this issue when i upgraded my project to 10.3.x. As suggested by @ordasoft , code changes in #10 worked for me. I have created the patch with changes from #10.
Regards,
Comment #12
smustgrave commentedWill give it another chance but clear steps need to be added to the summary for 11.x. Nothing was committed so porting wasn’t an option
Comment #13
smustgrave commentedSince steps haven't been provided going to close out again. If still a bug please feel free to re-open, with steps to reproduce
Thanks all!
Comment #14
pfrenssenThe issue mentioned in comment 9 (#3439347-9: InvalidArgumentException: The timestamp must be numeric. in Drupal\Component\Datetime\DateTimePlus::createFromTimestamp() ) is being addressed here: #3459169: Protect against empty revision timestamps in VersionHistoryController::getRevisionDescription.