If newly added order item has the same fields as existing order item, but in both order items this field is empty, then it's not aggregated.
As a result we have an issue shown on the screenshot below.
screenshot.png

Comments

Adameue created an issue. See original summary.

juliusz_cheddar’s picture

Issue summary: View changes
juliusz_cheddar’s picture

Status: Active » Needs review
StatusFileSize
new713 bytes

Created patch checking if the fields are empty.

bojanz’s picture

Status: Needs review » Needs work

We need a failing test.

zaporylie’s picture

Status: Needs work » Needs review
StatusFileSize
new1.94 KB
new2.63 KB

Here you go.

The last submitted patch, 5: 3000882-5-tests-only.patch, failed testing. View results

  • bojanz committed 26ef9ff on 8.x-2.x authored by zaporylie
    Issue #3000882 by zaporylie, Adameue, bojanz: Newly added order item is...
bojanz’s picture

Status: Needs review » Fixed

Thank you! Cleaned up the code a bit to add comments about the issue, and committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.