imi-ms / MoPat

Mobile Patient Survey (MoPat) is a Java based web application to create, distribute, complete and export medical questionnaires.
Apache License 2.0
7 stars 1 forks source link

Exports with image questions is not functional #35

Closed ywarnecke closed 1 month ago

ywarnecke commented 1 month ago

Since a recent Spring update, the mechanism to use the servletContext inside of a DTO is not working anymore, as this is not a desired design.

The architecture has to be adjusted to fix this.

ywarnecke commented 1 month ago

A fix for this is already in the works, where the functions are extracted from the DTOs into Service classes.

Simultaneously, the images in the frontend will be transferred with Base64 encoding. This enables the user to store images in a folder outside of the webapps directory, thus allowing for easier updates of the webapp.

ywarnecke commented 1 month ago

This has been solved and shipped with the initial release as version 3.1