Skip to content

Invalid Total Amount on split transaction #6956

@njwgh

Description

@njwgh

MMEX version:

  • 1.8.0

Operating System:

  • Windows 10

Description of the bug

In a split transaction if the total of the split amounts is 0 then sometimes you get a 'Invalid Total Amount' message and the transaction won't save.

Reproduction

Is the bug reproducible?

  • [x ] Randomly

It only seems to happen if the last split value is negative, but it doesn't always happen in this case.
If it happens then I can always get around it by moving the positive split value to be the last one.

Reproduction steps:

Add a split transaction
Add a positive value for first split
Add a negative value for second split of the same amount as the first
The total will be 0
Sometimes this will cause Invalid Total Amount message and won't save

Expected result:
split transaction should save

Actual result:
unable to save the split transaction

Additional information

mmex-invalid-total

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions