]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commit
fix(ERP-247): skip item save on null subsidy/partner_warehouse_id, log Yii::error origin/feature_filippov_ERP-247_add_delivery_logging
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 19:56:56 +0000 (22:56 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 19:56:56 +0000 (22:56 +0300)
commite1c593e565821f5b07aea9c9cfcb9070b97c3397
tree96f6a643ff4499158abb5d6863b626719667c564
parent01d233ae5922b3e9ce674f3727caa02cf549d3e2
fix(ERP-247): skip item save on null subsidy/partner_warehouse_id, log Yii::error

When getSubsidy() or getPartnerWarehouseId() returns null — log error with
orderId + shopSku and skip saving the item (continue) instead of writing
invalid fallback values (0 / 'N/A') to DB.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
erp24/services/MarketplaceService.php