Skip to content

getBreadcrumbsArray is broken if a label is used twice in a path #47

Description

@stof

There is absolutely no constraint about labels in KnpMenu. But while working on #45, I figured that the label is used as key in the return value of getBreadcrumbsArray, meaning the method is totally broken when a label is used twice in a path in the tree.

Fixing it would require a BC break as the bug comes from the design chosen for the method (which still comes from ioMenuPlugin)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions