@@ mention autocomplete shows incorrect users — affected by out-of-office replacements

Infos:

  • Used Zammad version: 6.5.2
  • Used Zammad installation type: package
  • Operating system: Rocky Linux 9.4 (Red Hat)
  • Browser + version: All Browsers

Expected behavior:

  • Mention autocomplete should display the correct results.

Actual behavior:

  • The list contains completely irrelevant entries.

Steps to reproduce the behavior:

  • Set user1 as out of office replacement of user2.
  • Use user mention in ticket and start searching for user2.
  • The list shows user1 and user 2 but should only show user2.
  • Same behavior for the search in user management.

Notes:

  • Recently updated from 6.4 to 6.5.2.
  • Not sure whether the behavior has only occurred since the update.
  • Index rebuilt after update.
  • We partially set the absences via the API.
  • It does not matter whether the absence is active or not.

Any idea whether this could be a configuration problem or a bug?