Problem/Motivation

The new Radioactivity Reference is designed to provide better performance by not changing the host entity. But currently the field formatters break this promise by rendering the value of the referenced entity. This will result in cache invalidation of the host entity each time the referenced energy value changes.

Proposed resolution

This can be resolved by rendering the energy value through a lazy builder.

Comments

Sutharsan created an issue. See original summary.

sutharsan’s picture

Status: Active » Needs review
StatusFileSize
new4.2 KB

Initial patch to add a lazy builder.

sutharsan’s picture

StatusFileSize
new4.68 KB

Fixing a bug in the emitter, not emitting when the value is displayed.

sutharsan’s picture

StatusFileSize
new7.51 KB

Added a unit test for the new lazy builder service.

sutharsan’s picture

Status: Needs review » Reviewed & tested by the community

  • Sutharsan authored 2528e68 on 4.0.x
    Issue #3255959 by Sutharsan: Use lazy builder to render energy values
    
sutharsan’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.