::getCreatedTime() sometimes returns null instead of integer

Created on 3 July 2025, 3 days ago

Problem/Motivation

In WorkspaceInterface, UserInterface, NodeInterface, and CommentInterface, ::getCreatedTime() is defined as returning int. However, sometimes implementations will return null; see 🐛 getCreatedTime returns string instead of integer Needs work .

Proposed resolution

Ensure it cannot return null or update the interfaces.

Remaining tasks

Decide what to do. Implement.

User interface changes

None.

Introduced terminology

None.

API changes

Interfaces may allow null return values for ::getCreatedTime().

Data model changes

None.

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

comment.module

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024