Change record status: 
Project: 
Introduced in branch: 
9.3.x
Introduced in version: 
9.3.0
Description: 

Drupal\comment\CommentInterface::getThread() will return the value NULL when the method is called before the comment is saved.

The methods Drupal\comment\CommentStorageInterface::getMaxThread() and Drupal\comment\CommentStorageInterface::getMaxThreadPerThread() will return the value NULL when the commented entity has no comments.

Impacts: 
Module developers