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
Ionic 3.5.0 strange URLs behavior "nav/n4" and "tabs/t0/page" #12346
Comments
The team is aware of this. |
@AmitMY thanks for the reply!! |
I do think it is problematic, and I do not know if any workaround exists |
I am going to start working on this today. Thanks, |
thank you so much @danbucholtz |
@tattivitorino thank u, u have asked this already, i just posted same on forum https://forum.ionicframework.com/t/url-not-reset-on-ionic-serve-live-reload/98080 |
Any process for this? |
It is fixed in latest upgrade, |
@rashnk |
follow this http://blog.ionic.io/announcing-ionic-3-5-2/ |
We have been having the same problem with /nav/n4/ rashnk - are you saying this is definitely fixed in 3.5.2? It wasn't directly addressed on the blog post at: http://blog.ionic.io/announcing-ionic-3-5-2/ Is there a changelog of fixes we can check for this sort of thing in the future? Thanks :) |
@dev-manager-uk Yes.See this: https://github.com/ionic-team/ionic/releases |
Awesome, thank you. Is there anything we need to change in settings or code? Or it should Just Work™. :D |
The issue is still present in both 3.5.2 and 3.5.3 for me. ionic info global packages:
local packages:
System:
|
@rashnk, I success upgraded. but the issue still remain, even create a new project for lazy load page using last version; |
Yes, the issue is url not expected.
|
@danbucholtz We're waiting for your reply hence me too have same URL pattern as above with the latest Ionic |
Same problem here. After upgrading to 3.5, my app using deeplinking (a browser app hosted on a server) didn't work as expected any more because of the magic urls like 'nav/n4'. |
Same issue here. We are working on a PWA app and deeplinking is very important. |
Same here. This is holding up a release for us. |
@larpo1 I suggest you downgrade if you can, there were not many changes other than nav in 3.5.X |
Hello all! Dan is currently working on shortening our URL's and getting rid of alot of the "magic" in them. We hope to have this ready soon. |
Thanks Dan! Thanks Justin! They should work like: Instead of: |
Same here. |
This will be published tomorrow. The commits are already on Github so I'm going to close this. Thanks, |
Yes, would be nice to have a fix |
I am not sure if this does not have issues, but you folks should use the nightly, |
Can confirm Edit: use 3.6.0 |
Sorry, we had an unforeseen issue and will ship tomorrow. If you want early access, check out Thanks, |
@sergiocarneiro Unfortunately, adding that setting will not remove |
Can confirm $ npm install ionic-angular@3.5.3-201707251952 --save --save-exact works for me. Thanks! |
@numerized You can use 3.6.0 instead. |
Hi, I'm past 3.6.0 so not sure what the issue is, except it's causing massive issues |
You need to use 3.6.0 ionic angular. |
Thanks AmitMY, unfortunately it doesn't fix it for me... |
Same thing here, i'm on ionic@3.10.1 and always the same problem !!! |
Other than upgrading ionic and ionic-angular to latest, @danbucholtz is there something else to be done? |
So if I run ionc-angular 3.6.1 and do:
It works for me |
Hello you all! it seems a lot happened and changed since i created this issue! I can see that part of the url problems we had before are fixed! For the pages that are not inside a tab system everything works fine! but its not the case with the tabs. I just created a fresh app with a couple of pages like login, signup etc.. and the url is perfect for those! When I get to the tabs page (upon login) thats what i have: http://localhost:8100/#/tabs/tab1/tab1 http://localhost:8100/#/tabs/tab-1/tab1 http://localhost:8100/#/tabs/tab-1/tab-1 it looks to me like the tabUrlPath is related to the first /tab-1 segment and the IonicPage segment is the 2nd segment! Is there a way to get rid of either of them? I dont see the point of having both segments! The ideal would be: http://localhost:8100/#/tabs/tab-1, right? thats my system info: `
global packages:
local packages:
System:
` |
Definitely an issue for me as well with Ionic 3.9.2. I am also using tabs like the others. I'll provide more info if necessary. I get a url that looks like the following: |
I'm completely agreeing with @tattivitorino that there isn't really a need to have the tab name and page name in the URL. Imo the tab names should be completely replaced by the page name. Another thing I noticed is that I cannot get URLs with parameters working when using tabs. The page I want to get has the following segment definition: |
Just did an upgrade since my previous comment, using 3.9.2 and it is showing /nav/n4/ . Any updates to having this removed or should I downgrade to 3.6.0? EDIT: Ignore this, looks like it was more of a problem with my package-lock.json in npm, forcing the install from my package.json with |
I'm running 3.9.2. Issue persists. |
Having this issue as well on 3.9.2. e.g.: /nav/n5/MasterLogin |
I had this working normal and then started to make the /nav/ path.. using 3.9.2 as well! I found out that the problem was because i was having more than one/switch |
@mariohmol That resolved the issue for me. Thanks for including that. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x ] 3.x
I'm submitting a ... (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Ionic 3.5.0 strange URLs behavior
My app has the basic interfaces! A LoginPage, SignupPage... that after login or signup it goes to the tabs interface.. nothing fancy i guess!
First of all the "nav/n4" is it default behavior?
http://localhost:8100/#/nav/n4/login
http://localhost:8100/#/nav/n4/app/tabs/t0/perfil/perfil
I created the pages and the Tabs with ionic g
and for all the pages I have the segment set for their, let's say, names like:
@IonicPage({ segment:'perfil' })
Expected behavior:
http://localhost:8100/#/login
http://localhost:8100/#/app/perfil
Steps to reproduce:
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: