Ensure "Profile user status" search api processor detects user account deactivation

Created on 14 August 2024, 9 months ago

Problem/Motivation

The "Profile user status" Search API processor doesn't currently work properly. Mainly because of two issues:

  1. The declared preprocess_query stage is invalid, and should be alter_items instead
  2. It needs to trigger a re-index when the underlying User entity is block/unblocked.

Steps to reproduce

Add a profile to a Search API index making use of the "Profile user status" processor.

Proposed resolution

Use the alter_items stage for the processor, as well as trigger a re-index of the profile when the user entity is blocked/unblocked.

Remaining tasks

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024