IntersectMBO / IntersectMBO/govtool

🐛 Blank Screen and Type Error on linkReferences When Navigating to Edit dRep Page

Open
#3,714 1 comment 0 reactions 2 assignees Claimed by @MSzalowski View on GitHub
♟️ Delegation Pillar 🎁 Wrapper 🐛 Bug 🕵️‍♂️ Testing
Dominant language
HTML
Stars
21
Forks
29
Avg merge
2d 22h
Merged PRs (30d)
7

Description

### Area

Delegation Pillar

### Domain

Custom setup

### Which wallet were you using?

_No response_

### Context

As a dRep, when navigating to the Edit dRep page using the URL` https://p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr/edit_drep`, the page intermittently displays a blank screen with a linkReferences type error or disconnects the wallet.

dRep ID: drep1ytett72fzlmudmq55sn95lm5qcks3ekmwpzq5czfswtustqkxs77v

URL: https://p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr/edit_drep

### Steps to reproduce

1. Connect a dRep wallet that has no associated links.
2. Navigate to the Edit dRep page using the URL: `https://p80-z78acf3c2-zded6a792-gtw.z937eb260.rustrocks.fr/edit_drep`.
3. Observe the behaviour: either a blank screen with a linkReferences type error, or a wallet disconnection.

### Actual behavior

- For a registered dRep with no links, navigating to the Edit dRep page via the provided URL results in a blank screen with a linkReferences type error or a wallet disconnection.

![Image](https://github.com/user-attachments/assets/f5de0d67-4789-4e5e-a7b2-63088f9fa15b)

### Expected behavior

The Edit dRep page should load correctly without displaying a blank screen or disconnecting the wallet, regardless of the navigation method.

### Allure Report
- [3M_1. Should accept valid data in edit dRep form](https://intersectmbo.github.io/govtool-test-reports/qa/govtool-frontend/426/#behaviors/f7eea6c55a554c79a959f2fe9524fccc/f41c20492df73eaa/)
- [3M_2. Should reject invalid data in edit dRep form](https://intersectmbo.github.io/govtool-test-reports/qa/govtool-frontend/426/#behaviors/f7eea6c55a554c79a959f2fe9524fccc/ce247af43497d5b2/)
- [3N_1. Should accept valid metadata anchor on edit dRep](https://intersectmbo.github.io/govtool-test-reports/qa/govtool-frontend/426/#behaviors/f7eea6c55a554c79a959f2fe9524fccc/67de9e5e835bef34/)
- [3N_2. Should reject invalid dRep metadata anchor on edit dRep](https://intersectmbo.github.io/govtool-test-reports/qa/govtool-frontend/426/#behaviors/f7eea6c55a554c79a959f2fe9524fccc/d159159aa99893aa/)
- [3P. Should reject invalid edit dRep metadata](https://intersectmbo.github.io/govtool-test-reports/qa/govtool-frontend/426/#behaviors/f7eea6c55a554c79a959f2fe9524fccc/5f8fcb230acc385a/)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.