Problem/Motivation

The search_api_skip_tracking flag on Entity objects was introduced to allow developers to skip tracking for an entity when manipulating it in code, but TrackingHelper::trackReferencedEntityUpdate() does not respect this flag.

Steps to reproduce

Set the flag in code, and update (save) the entity, the relations are still being tracked.

Proposed resolution

Add the logic to the TrackingHelper to skip the entity when the flag is set.

Remaining tasks

Implementation.

CommentFileSizeAuthor
#2 3325360-2.patch555 bytesjelle_s

Comments

Jelle_S created an issue. See original summary.

jelle_s’s picture

Status: Active » Needs review
StatusFileSize
new555 bytes

Patch that fixes the issue.

drunken monkey’s picture

Status: Needs review » Fixed

Makes sense, thanks a lot!
Merged.

drunken monkey’s picture

Status: Fixed » Closed (fixed)

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