No validation for Amount field on 'Apply charges' page after selecting fees of type: '% Loan Amount+Interest' and '% Interest'

Description

There is no validation for Amount field on Apply charges page after selecting fees of type: '% Loan Amount+Interest' and '% Interest'.

REPRO:
1. Login to Mifos.
2. Go to 'Clients & Accounts' tab.
3. Search for any client with Loan account.
4. On 'Loan details' page, click on 'Apply charges' link.
5. Select fee of type: '% Loan Amount+Interest' or '% Interest'.
6. Leave Amount field empty and click Submit button.

Expected result:
Validation message appears.

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

Environment

None

Status

Assignee

Rafal Lewandowski

Reporter

Lukasz Chudy

Labels

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