Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Deeplinker breaks on refresh when param is added (browser) #236

Open
ionitron-bot bot opened this issue Nov 28, 2018 · 0 comments · May be fixed by Jankyboy/ionic-v3#7, Jankyboy/ionic-v3#9 or Jankyboy/ionic-v3#19
Labels

Comments

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 28, 2018

Original issue by @judsonmusic on 2017-08-27T13:51:18Z

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:
When I refresh a page that has a param in the URL using segment/:id I get
Uncaught (in promise): invalid link: redeem/593f2ac1e839b689d883448d

Expected behavior:
When I refresh the page, the component should load when providing a parameter in the url

Steps to reproduce:
GO to something like: http://localhost:8100/#/redeem/593f2ac1e839b689d883448d in my ionic app.

Related code:
@IonicPage({ name: 'redeem', segment: 'redeem/:id', defaultHistory: ['reward-goals'] })

Ionic info:

cli packages: (/Users/judsonterrell/.npm-global/lib/node_modules)

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 1.3.7
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.0.1

System:

    ios-deploy : 1.9.1
    ios-sim    : 5.0.13
    Node       : v6.11.0
    npm        : 3.10.10
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b

PLEASE NOTE: refresh works fine is I just use segment: "redeem" with no params.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
0 participants