Skip to content

Missing entry_hash in link to document #1866

Open
@mdlaat

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions