Page with Stack trace appears after entering amount with big number into 'Recommended amount for deposit' field and trying to create new Savings account

Description

During the Savings account creation flow, after entering amount with big number into 'Recommended amount for deposit' field and then after clicking Submit button, page with stack trace appears.

Repro:
1. Login to Mifos.
2. Click on 'Create new Savings account' link.
3. Select any client and savings product.
4. On 'Enter Savings account information' page, fill all necessary fields and enter amount into 'Recommended amount for deposit' field: "10000000000000000000000000000000000"
5. Click on Continue button.
6. Click Preview button.
7. Click Submit button.

Expected result:
There should be validation for the number of digits before decimal.

Actual result:
Page with stack trace appears. See attached file.

Environment

None

Status

Assignee

Rafal Lewandowski

Reporter

Lukasz Chudy

Labels

None

Implementation Priority

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

50% Estimate

None

90% Estimate

None

Deployment

None

Epic

None

Request Type

None

Requestor

None

Number of Support Tickets

None

Customer

None

Notify

None

productboard URL

None

Components

Fix versions

Affects versions

Release 2.2

Priority

Minor
Configure