Declaration:status problem

Created on 9 February 2025, 15 days ago

Problem/Motivation

I'm not sure that the calculated field Declaration:status is going to work. The value depends on the date, so it would break any caching.

Proposed resolution

Options

1) I'm not sure we need it: the function getStatus() is fine for most purposes.

2) We could appropriate cache expiry to the entity. I guess the purpose of it was for display (a computed field being more elegant than hook_entity_extra_field), but I'm open to other approaches to displaying status.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom adamps

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

Comments & Activities

Production build 0.71.5 2024