Jabref: crossref resolution does not comply with biblatex specification

Created on 11 Jun 2019  路  6Comments  路  Source: JabRef/jabref

JabRef version

JabRef 5.0-dev--snapshot--2019-06-10--master--eb42850f7
Linux 4.4.0-150-generic amd64
Java 1.8.0_212

on

Ubuntu 16.04

Steps to reproduce the behavior

  1. create a Proceedings entry Foo2019
@Proceedings{Foo2019,
  title  = {Foo Conference},
  date   = {2019},
}
  1. create an InProceedings entry Bar2019 with crossref to Foo2019
@Proceedings{Bar2019,
  title  = {Bar Paper},
  crossref = {Foo2019},
}
  1. have a look at the Bar2019 row at the main table view

Observed behavior

The year field of the Bar2019 entry gets populated with the value from the Foo2019 entry.

Expected behavior

All fileds (esp. year and journal/booktitle) get populated with values obtained from the crossref'ed entry.

Explanation

According to the biblatex documentation (Appendix B), the booktitle field of an InProcessings entry inherits the value from the title field of the referenced Proceedings entry.

good first issue maintable

All 6 comments

As of now, JabRef simply takes the value of the same field from the referenced entry. These advanced mappings of biblatex are not yet taken into account.

The following code needs to be adapted:
https://github.com/JabRef/jabref/blob/d8b2c7ef0e7f8149c50a2b4f6b982731d612993a/src/main/java/org/jabref/model/entry/BibEntry.java#L137-L142

@tobiasdiez I'll work on this issue

@tobiasdiez PR https://github.com/JabRef/jabref/pull/5086 is open for review.

Thanks to @CyraxSector this should be fixed now in the latest master.

Thanks for your effort. Unfortunately, this does not work for me in the latest master. See the attached MWE for testing.

JabRef 5.0-dev--snapshot--2019-08-26--master--b2e6e8383
Linux 4.4.0-159-generic amd64
Java 11.0.4

Thanks to you this should be fixed in the latest development version 馃樃 . Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jimjianghk picture jimjianghk  路  42Comments

nswitte picture nswitte  路  39Comments

AEgit picture AEgit  路  49Comments

ilippert picture ilippert  路  34Comments

LyzardKing picture LyzardKing  路  62Comments