Skip to content

Error 500 on disabled products #55

@joseamietta

Description

@joseamietta

When accessing a disabled product's URL, it returns a 500 error.
I've found that Magento\CatalogUrlRewriteGraphQl\Model\DataProvider\UrlRewrite\ProductDataProvider is used as the URL provider, so in 2.4.7-p7 version this provider throws a GraphQlNoSuchEntityException when the product is disabled, which results in a 500 error in PWA Studio.

Image Image Image

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