Menu

#675 Cannot reconcile account with negative balance

1.3
closed-accepted
None
5
2012-11-13
2012-11-13
Nick Prater
No

When reconciling an account (via Cash->Reconciliation) it is not possible to enter a negative amount beginning with a '-' sign.

This bug was introduced in v1.3.22 by revision 5079.

This revision intended to trap date values accidentally entered into an amount field, by catching the characters '-' or '/'. Unfortunately it also traps negative amounts.

The attached patch fixes this by refining the regex.

It also removes an unused dependency on Try::Tiny which was also introduced by revision 5079.

Discussion

  • Nick Prater

    Nick Prater - 2012-11-13

    patch for recon.pl

     
  • Havard Sorli

    Havard Sorli - 2012-11-13

    Fixed in revision 5191.

     
  • Havard Sorli

    Havard Sorli - 2012-11-13
    • milestone: --> 1.3
    • assigned_to: nobody --> hasorli
    • status: open --> closed-accepted