Defect HC-13052
Rule Based Sales Category inconsistent behavior
Software
Customer case | Applies to | Corrected in |
---|---|---|
CS0264867 | V9.1.6.0 | 9.1.9.0 |
Observed behavior
Rule Based Sales Categories behave differently between Products and Variants when using ElasticSearch.
Expected behavior
The categories should work the same way regardless of the category structure.
Resolution
When one of the underlying SKUs of a product is set to publishing and its parent (Product or Variant) is not displayable, an ArrayIndexOutOfBoundsException can be seen in the log. The code was fixed to address this situation.