Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web-wallet: Application Crash on Clearing Amount Field in Stake Flow #3036

Open
nortonandreev opened this issue Nov 21, 2024 · 0 comments
Open
Assignees
Labels
fix:bug Something isn't working module:web-wallet Issues related to web-wallet module priority:urgent High priority issues

Comments

@nortonandreev
Copy link
Contributor

Description

Clearing the amount field in the Stake flow triggers an application crash with a Not an integer exception. This issue disrupts the user experience and needs to be resolved to ensure stability.

Steps to Reproduce

  1. Navigate to the Stake flow in the application.
  2. Clear the amount field by deleting the default value.
  3. Observe the application crash with a Not an integer exception in the Web Console.

Expected Behavior

Clearing the amount field should not cause the application to crash. Instead:

  • The field should gracefully handle empty input, possibly defaulting to 0 and disabling the Next button (should mirror the behaviour of the Send flow).

Actual Behavior

The application crashes with a Not an integer exception when the amount field is cleared.

Acceptance Criteria

  • Ensure clearing the amount field does not cause an application crash.
  • Implement proper handling for empty or invalid input in the amount field.
  • Add tests to verify the field handles empty states without errors.
@nortonandreev nortonandreev added fix:bug Something isn't working module:web-wallet Issues related to web-wallet module priority:urgent High priority issues labels Nov 21, 2024
@nortonandreev nortonandreev self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix:bug Something isn't working module:web-wallet Issues related to web-wallet module priority:urgent High priority issues
Projects
None yet
Development

No branches or pull requests

1 participant