Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payee metadata tag ignored by --check-payees #556

Closed
sephelps opened this issue Apr 2, 2018 · 3 comments · Fixed by #1962
Closed

Payee metadata tag ignored by --check-payees #556

sephelps opened this issue Apr 2, 2018 · 3 comments · Fixed by #1962
Labels
bug Something isn't working

Comments

@sephelps
Copy link

sephelps commented Apr 2, 2018

account Exp
account Ass
payee Test Payee
tag Payee

2018-01-01 * Test Payee
	Exp		$20
	Exp		$20 ; Payee: Another Payee
	Ass		

ledger -f ledger.dat bal --pedantic --explicit --check-payees

Shouldn't --check-payees cause an error for 'Another Payee?'

@tbm tbm added the bug Something isn't working label Jun 4, 2018
@tbm
Copy link
Contributor

tbm commented Jun 4, 2018

Confirmed.

@tbm tbm changed the title Payee metadata tag does not respect --check-payees Payee metadata tag ignored by --check-payees Jun 4, 2018
@tbm tbm closed this as completed in #1962 Feb 2, 2021
@felipelalli
Copy link

felipelalli commented Sep 11, 2021

Maybe should the doc be updated?

https://www.ledger-cli.org/3.0/doc/ledger3.html#Command-Directives

The payee name used with the tag is not enforced by the --check-payees option, due to a bug: #556.

@tbm
Copy link
Contributor

tbm commented Sep 11, 2021

@felipelalli commit fc8e4ce updated the docs, but we have to make a new ledger release before the docs on the website are updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants