Skip to content

Jabref corrupts PDF file when writing XMP metadata to linked PDF #8655

@ThiloteE

Description

@ThiloteE

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

JabRef 5.6--2022-04-04--dbf921e Windows 10 10.0 amd64 Java 17.0.2 JavaFX 18+12

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

  1. Have a linked pdf file
    (my pdf file was 838 kb)
  2. Have bibliographic data
  3. Write XMP metadata to pdf via Tools > write XMP metadata to PDF files (F6)

What happens:

  • Trying to open this pdf file with a pdf reader (e.g. foxit reader / pdf xchange) shows the pdf has no pages anymore.
  • The size of the pdf shrinks to ~ 4kb

Appendix

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions