List compare action fails with complex data

Created on 19 June 2025, 5 days ago

Problem/Motivation

If the lists contain data like e.g. entities, the $this->tokenService->getTokenData($name)->toArray(); converts those into array, but then they can't be compared with array_diff or array_intersect because those compare string values of each item with each other.

Proposed resolution

Implement manual diff and intersect instead.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024