- 🇮🇹Italy gatiba
Patch #10 seems to have no effect on Commerce 2.36. The new select field "condition" doesn't works.
- Merge request !307Issue #3178165: Add negate and and/or functionality to order product category condition → (Open) created by rhovland
- 🇺🇸United States rhovland
Added tests for new functionality but they fail for a reason I don't understand.
Drupal\Tests\commerce_product\Unit\Plugin\Commerce\Condition\OrderItemProductCategoryTest::testEvaluate TypeError: array_intersect(): Argument #1 ($array) must be of type array, null given
I'm guessing it's taking issue with
$configuration['terms'] = ['62e428e1-88a6-478c-a8c6-a554ca2332ae', 'a019d89b-c4d9-4ed4-b859-894e4e2e93cf'];
as it says it's supposed to be an array but null was given instead?