You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Sources" is not supported. Correct the field name and try again.
It's because if you pass to \Magento\Framework\Webapi\ServiceInputProcessor::convertValue the result of \Magento\Sales\Api\OrderRepositoryInterface::get (or getList), the Order object is badly formatted because of this plugin: \Ampersand\DisableStockReservation\Plugin\Model\OrderRepositoryPlugin. It seems that for some reason, the sourceCode is not serialized when Magento tries to rebuild the Sources extension attribute of the order (Magento\InventorySourceSelectionApi\Api\Data\SourceSelectionItemInterface).
Anyway I don't see any usage of this extension attribute in the code (Sources) so I guess it's safe to remove it and the plugin?
Error you will face:
"Sources" is not supported. Correct the field name and try again.
It's because if you pass to \Magento\Framework\Webapi\ServiceInputProcessor::convertValue the result of \Magento\Sales\Api\OrderRepositoryInterface::get (or getList), the Order object is badly formatted because of this plugin: \Ampersand\DisableStockReservation\Plugin\Model\OrderRepositoryPlugin. It seems that for some reason, the sourceCode is not serialized when Magento tries to rebuild the Sources extension attribute of the order (Magento\InventorySourceSelectionApi\Api\Data\SourceSelectionItemInterface).
Anyway I don't see any usage of this extension attribute in the code (Sources) so I guess it's safe to remove it and the plugin?
The text was updated successfully, but these errors were encountered: