Open dallyger opened 2 months ago
We found the following existing issues which may help or are related to your topic:
[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37680.
[created from NEXT-37680, comment 484475]
PHP Version
8.3.10
Shopware Version
6.6.5.1
Affected area / extension
Platform(Default)
Expected behaviour
Get a result containing all entities, that match the criteria, when searching for custom fields with empty values like null or empty string. Criteria Examples:
Actual behaviour
The
equalsAny
filter searching for[null]
returns an empty result. TheequalsAny
filter searching for[""]
works as expected (result found). Theequals
filter searching for""
throws an exception (see below). Theequals
filter searching fornull
works as expected.The error message for
equals
:How to reproduce
/api/search/newsletter-recipient
endpoint with the mentioned payloads.Below I've added some Hurl files to recreate those requests.
Example: equals empty-string
Example: equals-any using null