Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateBreadcrumb with query string for the URL not working #35

Open
AmerQwaider opened this issue Mar 26, 2021 · 10 comments
Open

updateBreadcrumb with query string for the URL not working #35

AmerQwaider opened this issue Mar 26, 2021 · 10 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@AmerQwaider
Copy link

AmerQwaider commented Mar 26, 2021

i have a node in the Breadcrumb and that node have URL with query string but unfortunately this cause an issue the(? and =) will convert to another chars


var breadcrumbs = [
            {
                "label": "Home",
                "url": "/Home/Home"
            },
            {
                "label": "Menu",
                "url": "/Home/Menus"
            },
            {
                "label": "Sections",
                "url": "/Home/Menus/Sections?MenuID=1"
            },
            {
                "label": "Items",
                "url": ""
            }
        ];

Error: Cannot match any routes. URL Segment: 'xx/xxxxx/Sections%3FMenuID%3D2

@sakthivelraja
Copy link

I have the same issue as well. Any plans of releasing a fix for this @rajaramtt . Thanks

@rajaramtt rajaramtt added the bug Something isn't working label Aug 20, 2021
@rajaramtt rajaramtt self-assigned this Aug 20, 2021
@rajaramtt
Copy link
Owner

@AmerQwaider @sakthivelraja Please create and provide stackblitz angular reproducible URL!

@AmerQwaider
Copy link
Author

@rajaramtt
am trying to do that

@AmerQwaider
Copy link
Author

@rajaramtt
can u plz help me to check this example
https://stackblitz.com/edit/angular-ivy-21pfv7?file=src/app/app.component.ts

@sakthivelraja
Copy link

@rajaramtt

I've reproduced the bug in this stackblitz example url.

Demo for the same is here

Both Page One and Page Two have breadcrumbs. I have added a query parameter to the home url for the pageOne path so if you click on the "Page One" link on the home page and go to page one and then click on the "Home" link in the breadcrumb you'll see it breaking.

Please let me know if you need any other info.

@AmerQwaider
Copy link
Author

any update @rajaramtt

@rajaramtt
Copy link
Owner

@AmerQwaider I’m a little tied up with office work, Will check and update you!

@AmerQwaider
Copy link
Author

okii thanks

@codenannu
Copy link

@rajaramtt Any update?

@rajaramtt rajaramtt added the enhancement New feature or request label Feb 21, 2022
@yousef-aliswed
Copy link

@rajaramtt I've same issue here so please when you are planning to do this enhancement.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants