Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Remove PriceListItemStorage because it is not required and causes an issue with Default Content.
Discussed with @bojanz on Slack
Comment | File | Size | Author |
---|---|---|---|
#2 | Issue_#3053433__Remove_PriceListItemStorage.patch | 1.41 KB | dwkitchen |
Comments
Comment #2
dwkitchen CreditAttribution: dwkitchen commentedPatch attached
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedComment #4
bojanz CreditAttribution: bojanz at Centarro commentedBetter title. We had the same problem in Commerce for payments and payment methods, fixed in #2988625: Cannot create payments and payment methods via REST.
I would like to add the same validation to PriceListItem::preSave() though. That won't interfere with other modules, but it will still ensure that non-broken data is being saved.
Comment #6
bojanz CreditAttribution: bojanz at Centarro commentedAdded the preSave() and committed. Thanks!