bitshares / bitshares/bitshares-ui

[3.1.191011] - Voting/Assets/Vesting - 404 error after "Switch Node"

Open
#3,101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**
404 error after "Switch Node" or after connecting to another node.
Link `wallet.bitshares.org/#/account/test/voting` turns into a link `wallet.bitshares.org/#/account//voting`
`wallet.bitshares.org/#/account/test/assets` → `wallet.bitshares.org/#/account//assets`
`wallet.bitshares.org/#/account/test/vesting` → `wallet.bitshares.org/#/account//vesting` (related with #2878 )

**To Reproduce**
Steps to reproduce the behavior:
1. Go to [https://wallet.bitshares.org/#/account/test/voting](https://wallet.bitshares.org/#/account/test/voting)
2. Click on 'Switch Node'
3. Click on 'Connect to this API Node
4. See error "404 page not found", because the page has changed to `wallet.bitshares.org/#/account//voting`

**Expected behavior**
URL should not change

**Screenshots**
![XwfshTVWW4](https://user-images.githubusercontent.com/17462020/67681703-84353180-f996-11e9-9970-67e857469a93.gif)

**Desktop (please complete the following information):**
- OS: Windows 7
- Browser: Chrome 71
- BitShares 3.1.191011

**Additional context**
Pull request #2993 didn`t help solve the problem

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by opening the voting, assets, or vesting URLs, then using Switch Node and connecting to another API node. Inspect the routing or navigation path involved and compare the behavior with pull request #2993. Done means switching nodes preserves the account segment and no longer produces a 404 URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.