Closed DangerLifter closed 4 years ago
From time to time on import we got such exception:
[app] Exception: Unknown enum value given #0 /var/www/html/bolcom_app_nonarbitrage/vendor/bol-com/retailer-api/src/Model/Shipment/ShipmentItem.php(216): BolCom\RetailerApi\Model\Offer\Condition::fromValue('UNKNOWN') #1 /var/www/html/bolcom_app_nonarbitrage/vendor/bol-com/retailer-api/src/Model/Shipment/Shipment.php(147): BolCom\RetailerApi\Model\Shipment\ShipmentItem::fromArray(Array) #2 /var/www/html/bolcom_app_nonarbitrage/vendor/bol-com/retailer-api/src/Handler/Shipment/GetShipmentHandler.php(50): BolCom\RetailerApi\Model\Shipment\Shipment::fromArray(Array) #3 /var/www/html/bolcom_app_nonarbitrage/vendor/bol-com/retailer-api/src/Infrastructure/MessageBus.php(111): BolCom\RetailerApi\Handler\Shipment\GetShipmentHandler->__invoke(Object(BolCom\RetailerApi\Model\Shipment\Query\GetShipment)) #4 /var/www/html/bolcom_app_nonarbitrage/src/BolCom/RetailerApi/MessageBus.php(30): BolCom\RetailerApi\Infrastructure\MessageBus->dispatch(Object(BolCom\RetailerApi\Model\Shipment\Query\GetShipment), 'default')
From time to time on import we got such exception: