Closed (duplicate)
Project:
Drupal core
Version:
9.3.x-dev
Component:
comment.module
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Sep 2021 at 22:49 UTC
Updated:
1 Oct 2021 at 08:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #4
alexpottRandom JS test fail.
Comment #5
andypostI think it's better to remove useless call to "empty()" and just process result
it may need a test to fix current expectations from the method
Comment #6
andypostHere's a test
Comment #9
andypostIncluded changes from #3240171: \Drupal\comment\Entity\Comment::getSubject() can cause deprecations on PHP 8.1
Comment #10
andypostinterdiff from #6
Comment #11
alexpott@andypost rather than combining issues we should work out why the NULL return matters, document that and consider the best fix. That said I'm going to merge the thread part of this one with #3240167: \Drupal\comment\CommentStorage::getMaxThread() and \Drupal\comment\Entity\Comment::getThread() cause deprecations on PHP 8.1 because that's all about threads.