Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30965

Type error in UserMenuListener

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.5.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      I have an admin siteaccess configured with host matching. When i try to access a custom action in admin siteaccess, that is not protected, i get the following error:

      Type error: Argument 1 passed to Knp\Menu\Util\MenuManipulator::moveToPosition() must implement interface Knp\Menu\ItemInterface, null given, called in vendor/ezsystems/ezplatform-user/src/lib/EventListener/UserMenuListener.php on line 60

       I will propose an obvious bugfix via pull request

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            hannes.giesenow@elbformat.de Hannes Giesenow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: