jabref: Writing XMP metadata to PDFs skips my linked pdf file. Improve error messages

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

Windows 10 21H1

Checked with the latest development build

  • 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

JabRef 5.4–2021-11-15–9955a33 Windows 10 10.0 amd64 Java 16.0.2 JavaFX 17.0.1+1

Writing XMP metadata to pdf(s) skips my linked pdf file

How to reproduce:

  1. Have a pdf file with linked XMP metadata

  2. drag this file into Jabref (a entry emerges; Let’s call it X)

  3. Have another entry (let’s call it Y) in another library that also links to this same file

  4. Write metadata from Y to pdf via the following feature: image

  5. Try to write metadata from X to pdf via the F6 feature.

As soon as you use Writing XMP metadata to PDFs (F6) feature the following message pops up, even though my file is linked:

image

Appendix

Log File
Paste an excerpt of your log file here

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 25 (25 by maintainers)

Most upvoted comments

Summary of key points for

JabRef 5.4–2021-12-08–74a4edb Windows 10 10.0 amd64 Java 16.0.2 JavaFX 17.0.1+1

  1. Yes, file>import>import into current library works fine for the entries i tested. The error message could be phrased better. See 8278#issuecomment-989323085
  2. Export (XMP and bibtex) works for most pdf-files, but not for all. Cause unclear.
  3. Export (tools>write metadata to pdf files or F6) works fine on first run, but leads to error message at and after the second run, even when metadata was written successfully. This error message bug should definitely be fixed. It gives wrong feedback to user. See 8278#issuecomment-988441874

Hi, sorry I only saw this issue now after you tagged me in the forum. I’ll look into that last point. Thanks for the detailed report!