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

After language is switch, back button redirect into 404 #155

Open
qubiack opened this issue Jan 24, 2019 · 0 comments
Open

After language is switch, back button redirect into 404 #155

qubiack opened this issue Jan 24, 2019 · 0 comments

Comments

@qubiack
Copy link

qubiack commented Jan 24, 2019

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if similar feature request does not exist
[ ] support request => Suggested place for help and support is [stackoverflow](https://stackoverflow.com/), search for similar question before posting

Description

When I have in router path with children path, and I'm on child path after language is switch, back button in browser redirect into 404 error page. I switch language by using:

this.localize.changeLanguage(lang);

If I'm on first level page (not on children path) everything work good, and back button work.

I have this error after update Angular from 5.X into 7.1.0

🌍 Your Environment

Angular Version:


Angular CLI: 7.1.0
Node: 11.5.0
OS: darwin x64
Angular: 7.1.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.11.0
@angular-devkit/build-angular     0.11.0
@angular-devkit/build-optimizer   0.11.0
@angular-devkit/build-webpack     0.11.0
@angular-devkit/core              7.1.0
@angular-devkit/schematics        7.1.0
@angular/cli                      7.1.0
@ngtools/webpack                  7.1.0
@schematics/angular               7.1.0
@schematics/update                0.11.0
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.23.1

Localize Router Version:


...
        "localize-router": "^2.0.0-RC.2",
        "localize-router-http-loader": "^1.0.2",
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant