Skip to content

Relative route navigation failure after first use of ion-back-button (Ionic v4) with relative route #27050

Closed

Description

@TiVoMaker

🐞 bug report

Affected Package

The issue is caused by package @angular/angular

Is this a regression?

Unknown

Description

See the README in the repository. In summary, angular/packages/router/src/create_url_tree.ts, function replaceSegment, appears to rely on comparing object references when navigating a router outlet to a new URL, when it should be comparing the actual URLs. The Ionic application in the repository reproduces the failure.

🔬 Minimal Reproduction

The problem is reproduced in an Ionic v4 based repository, which is unsupported by either Plunkr or stackblitz. The repository can be found here: https://github.com/TiVoMaker/Angular-Routing-Bug

See the README in the repo.

🔥 Exception or Error





🌍 Your Environment

See the repo for the package.json and angular.json files.

Angular Version:





Anything else relevant?

Activity

  1. added this to the needsTriage milestone on Nov 12, 2018
  2. jasonaden commented on Nov 13, 2018

    @jasonaden
    Contributor

    I think this is related to #26983 and fixed by #26990. Thoughts?

  3. modified the milestones: needsTriage, Backlog on Nov 13, 2018
  4. atscott commented on Jul 9, 2020

    @atscott
    Contributor

    Thanks for reporting this issue. It appears this been fixed in one of the recent releases. Please update to the most recent version to resolve the problem.

    If after upgrade the problem still exists in your application please open a new issue and follow the instructions in the issue template.

  5. angular-automatic-lock-bot commented on Aug 9, 2020

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions