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

Missing entry_hash in link to document #1866

Open
mdlaat opened this issue Sep 23, 2024 · 0 comments
Open

Missing entry_hash in link to document #1866

mdlaat opened this issue Sep 23, 2024 · 0 comments

Comments

@mdlaat
Copy link

mdlaat commented Sep 23, 2024

According to the beancount documentation, is it ok to attach a document key to a posting of a transaction:

2024-01-09 * "Bank/9"
  Uitgaven:Verteer  3.75 EUR
    document: "/bean/docs/2024/Uitgaven/Verteer/2024-01-09_120.pdf"
  Vermogen:Prive-mutaties  4847.51 EUR
  Uitgaven:Verteer  17.00 EUR
  Activa:Liquide:ING -4868.26 EUR

However, I experience an issue with fava (using in docker, Beancount version 2.3.6 and Fava 1.27.3).

Given the example above, If I open the journal view, expand this transaction and mouse over to the document link, that link is missing the entry_hash=.... part of the url, resulting in an error when clicked.

If I move the document key to the second line of the transaction:

2024-01-09 * "Bank/9"
  document: "/bean/docs/2024/Uitgaven/Verteer/2024-01-09_120.pdf"
  Uitgaven:Verteer  3.75 EUR  
  Vermogen:Prive-mutaties  4847.51 EUR
  Uitgaven:Verteer  17.00 EUR
  Activa:Liquide:ING -4868.26 EUR

open the journal view, expand this transaction and mouse over to the document link, that link has the entry_hash=... part included in the url and clicking the link does indeed show me the document.

This seems like a bug to me. Is it me, or can anyone confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant