hledger icon indicating copy to clipboard operation
hledger copied to clipboard

hledger-web cannot save transaction, returns "Value is required"

Open andrasf opened this issue 3 years ago • 2 comments

If I open hledger-web and add a new transaction, it does not save it, but returns error message. It works in hledger-ui.

Used version: hledger 1.27, mac-aarch64

Example pictures attached to reproduce. Screenshot 2022-09-14 at 16 18 27 Screenshot 2022-09-14 at 16 18 34

andrasf avatar Sep 14 '22 14:09 andrasf

Thanks for the report! Claim your regression bounty at http://hledger.org/regressionbounty .

The file field, which appears only when there are multiple files, should not have been made mandatory. As a temporary workaround, add a dummy include to your journal file, forcing the field to appear:

include dummy.j

[This broke in hledger-web-1.27.]

simonmichael avatar Sep 14 '22 18:09 simonmichael

Fixed in master, will be released in 1.27.1 soon.

simonmichael avatar Sep 14 '22 18:09 simonmichael

Hi @andrasf. I just approved your bounty payment - I'm very sorry for overlooking the approval notification. I have changed my mail rules to hopefully fix this in future.

simonmichael avatar Dec 10 '22 05:12 simonmichael