dcpurton / biblatex-sbl

Society of Biblical Literature (SBL) style files for biblatex
24 stars 5 forks source link

Entries with both a shorthand and a shortseries do not work for biblatex >= 3.3 and biber >= 2.4 #26

Closed dcpurton closed 8 years ago

dcpurton commented 8 years ago

biber spits out the following error:

Can't call method "get_field" on an undefined value at /tmp/par-6463707572746f6e/cache-ab2aa2ece61cc988b50d107b05c5c3fad9d00256/inc/lib/Biber.pm line 3377.

Not sure what this is related to yet, but probably connected with how I'm putting both shortseries and shorthand in the list of abbreviations.

The following minimal working example demonstrates the issue:

\documentclass{article}
\usepackage[style=sbl,backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{ABC,
  author = {Grayson, Albert Kirk},
  title = {Assyrian and Babylonian Chronicles},
  shorttitle = {ABC},
  series = {Texts from Cuneiform Sources},
  shortseries = {TCS},
  number = {5},
  location = {Locust Valley, NY},
  publisher = {Augustin},
  date = {1975},
  shorthand = {ABC}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{ABC}
\printbibliography
\end{document}
dcpurton commented 8 years ago

May be a problem with biber/biblatex: https://github.com/plk/biblatex/issues/377

Nhapsie commented 8 years ago

Work with biblatex 3.2 and biber 2.3, and move on to next version only if you run into errors. This will avoid bugs that usually come with a new release.

dcpurton commented 8 years ago

This is fixed up stream. biber 2.4 won't work, but biber 2.5 will.