SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Empty PDF file when downloading External Messages - Change feature so that download button leads to download of original XML

Open SORMAS-JanBoehme opened this issue 8 months ago • 2 comments

Bug Description

When using the download button to download an external message from the Message Directory a PDF file is downloaded but it has 0KB file size and when trying to open it in Acrobat Viewer the following message appears. Instead of creating a PDF, we want the download button to allow the user to download the original XML from the message.

Image

Reproduction Steps

  1. Go to Message Directory
  2. Download any of the messages
  3. Try to open the file in Acrobat Reader ...

Expected Behavior

The downloaded file should be the original XML from the lab msg

Affected Area(s)

Web app

SORMAS Version

1.102.0-SNAPSHOT

Android version/Browser

Firefox

User Role(s)

Admin

Server URL

test2.sormas.org

Additional Information

No response

SORMAS-JanBoehme avatar Jun 17 '25 14:06 SORMAS-JanBoehme

The PDF is not corrupt, it is empty. The generation of a PDF was never implemented as far as I could see.

raulbob avatar Jun 17 '25 14:06 raulbob

Decision: Change the button from (intending to allow user to download PDF) to allowing the user to download the original XML file

SORMAS-EmelineJanigan avatar Sep 10 '25 14:09 SORMAS-EmelineJanigan