diem / diem/reference-wallet

[Bug] 'an unexpected error' during the default currency selector

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
16
Forks
10
PR merge metrics
No merged PRs in 30d

Description

# 🐛 Bug

The current UI build shows 'an unexpected error' during the initial setup flow when you get to the currency selector; perhaps the system is failing after attempting a D.O.B lookup? I ask since the only hit I get on the string 'error' in the logs points out I did not enter a valid, formatted date during registration

## To reproduce
1. enter an invalid (poorly formatted (ie, "1/1/2002") D.O.B during initial registration
2. when you get to the currency selection page, note red error on screen stating 'an unexpected error'

**Code snippet to reproduce**
```rust
# Your code goes here
# Please make sure it does not require any external dependencies
```

**Stack trace/error message**
```
// Paste the output here
```

## Expected Behavior

## System information

**Please complete the following information:**
-
git pull from 'reference-wallet' on 1/24/2021
-
-
- macosII

## Additional context

Add any other context about the problem here.
stringFormat
uiError

Contributor guide

Open the contributing guide

Research direction

No source file, test, stack trace, or entry point is identified in the report. Start by reproducing the invalid date flow in the reference-wallet UI, then trace the error shown at currency selection and define completion as displaying the correct validation result instead of a generic error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.