Skip to content

GraphQL menu nodes may include data from other stores when menu identifiers are duplicated #397

@sashatkachukv

Description

@sashatkachukv

Problem

In multi-store Magento setups, different menus may use the same identifier in different stores.

The GraphQL resolver correctly resolves the menu in the current store context first, but then loads nodes again by identifier. As a result, the response may include nodes from
other menus that share the same identifier in other stores.

Expected behavior

After resolving the menu for the current store, GraphQL should load nodes only for that specific menu.

Notes

This becomes visible when multiple stores use different menus with the same identifier.

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