Field does not update when usage changes

Created on 21 March 2025, about 2 months ago

Problem/Motivation

If this field is used in a listing using cache tagging, the field does not update its count in that listing if the usage count changes (i.e. more usage is added), until cache is cleared. This is because the field does not add any cache dependencies.

Steps to reproduce

In an environment with caching enabled, view a usage listing using this field. Add usage for an entity in the listing, and refresh the listing in your browser. The usage count does not change.

Proposed resolution

Add cache dependencies to the render function.

Remaining tasks

Create a merge request from the patch.

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States john.oltman

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

Comments & Activities

Production build 0.71.5 2024