Skip to content

"The entity that was requested doesn't exist. Verify the entity and try again." in order grid #73

@pcvelz

Description

@pcvelz

When using latest version 1.0.51 of DHL module the order overview (Sales > Orders) shows a blank, with the error message

The entity that was requested doesn't exist. Verify the entity and try again.

I xdebugged the code, the issue error message specifically is coming from Magento order repository model \Magento\Sales\Model\OrderRepository::get.

To report the issue here is that the data. The sales_order_grid can contain a row which is not yet present in the sales_order tabel, this causes the DHL module to retrieve a order for check shipment and triggers the above error in \DHLParcel\Shipping\Ui\Column\Labels::getShipmentsByOrderId.

An improved error handling around getShipmentsByOrderId function could help reduce the sensitiveness of this function blocking the order grid in the Magento backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions