Pascal1988Pascal1988 MemberComments: 1 Received thanks: 2 Member since: January 2020 edited February 2020

I have a custom module with a new entry in the administration menu. A suboption of that menu should go directly to the plugin options. I expected something like this to work:

 

routes: {
    config: {
        component: 'sw-plugin-config',
        path: 'settings/:namespace',
        meta: {
            parentPath: 'sw.plugin.index'
        },

        props: {
            namespace: 'MyPlugin',
        }
    }
},


navigation: [
    {
        id: 'myplugin-config',
        label: 'Config',
        path: 'my.plugin.config',
        icon: 'default-object-lab-flask'
    }
]

This throws the following error: "Encountered an error while loading the configuration:Bundle by name "undefined" not found."

It does work though when i'm on the plugin page and click the menu option .. so it seems there's some page param that is there on the plugin page that is not there on other pages.

maybe there's a way to just serve an absolute path? or something 

Thanked by 1wao_io

Answers

  • padajapadaja MemberComments: 83 Received thanks: 0 Member since: July 2015

    Hi Pascal,

    i have the same issue. Have you find out how it works?

    Cheers

Sign In or Register to comment.