Order and OrderItem have getData() and setData(), but no unsetData($key), so there's no way to remove a key and its value.
Elsewhere in core there's usually all three.

Let's fix this.

CommentFileSizeAuthor
#2 3048070-2-data-unset.patch4.49 KBbojanz

Comments

bojanz created an issue. See original summary.

bojanz’s picture

Status: Active » Needs review
StatusFileSize
new4.49 KB

  • bojanz committed 85707d6 on 8.x-2.x
    Issue #3048070 by bojanz: There is no way to unset an order / order item...
bojanz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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