Skip to content

Some fields are dropped when exporting to Hayagriva #10596

Closed
@Enivex

Description

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

23H2

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Create a .bib file containing the following
@Article{Euler1757,
  author  = {Euler, Leonhard},
  journal = {Mémoires de l'académie des sciences de Berlin},
  title   = {Principes généraux du mouvement des fluides},
  year    = {1757},
  pages   = {274--315},
}
  1. Export to Hayagriva yaml
  2. The result is
---
Euler1757:
  type: article
  title: "Principes généraux du mouvement des fluides"
  author:
    - Euler, Leonhard
  date: 1757
  page-range: 274--315
---

As is evident, the journal is not there. In comparison, the output from the hayagriva CLI is

---
Euler1757:
  type: article
  author: "Euler, Leonhard"
  parent:
    - type: periodical
      title:
        value: "Mémoires de l'académie des sciences de Berlin"
        sentence-case: "Mémoires de l'académie des sciences de berlin"
  date: 1757
  title: Principes généraux du mouvement des fluides
  page-range: 274-315

JabRef 5.12--2023-10-26--d6a0e59
Windows 11 10.0 amd64
Java 21.0.1
JavaFX 20.0.2+3

Appendix

...

Log File
Paste an excerpt of your log file here

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions