Skip to content

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

@SORMAS-JanBoehme

Description

@SORMAS-JanBoehme

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    changeA change of an existing feature (ticket type)reviewed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions