CustomEntityDirtinessStrategy is always calling findDirty independent whether canDirtyCheck would return true

Description

Hi,

I noticed a kind of inconvenient/inconsistent behaviour when using CustomEntityDirtinessStrategy:

For checking whether an entity in general is dirty, a call to canDirtyCheck is made (which is fine):

5.6 / 6.1: //

But then when searching for dirty attributes, the same check is not made anymore to the CustomEntityDirtinessStrategy therefore calling findDirty, even if the strategy is not capable of defining if the entity (and in my opinion implicitly its attributes) are dirty

5.6 // 6.1: //

This is not documented (at least I didn’t find any hint mentioning this behaviour) and actually not expected in my opinion…

Activity

Show:

Details

Assignee

Reporter

Components

Sprint

Affects versions

Priority

Created October 18, 2022 at 2:25 PM
Updated November 21, 2024 at 12:38 PM