ICIJ / datashare

A self-hosted search engine for documents.
https://datashare.icij.org
GNU Affero General Public License v3.0
598 stars 54 forks source link

UriResult is not serialized/deserialized correctly #1575

Closed bamthomas closed 2 months ago

bamthomas commented 2 months ago

Describe the bug

When creating a BatchDownload, the result if of type UriResult it is deserialized as a hashmap so there is no downloading of the result, but display of the structure (uri, size).

To Reproduce

  1. create batch download
  2. try to download it by clicking on the link
  3. see the following screen

Expected behavior

Download of the document

Screenshots bug

Additional context

The result doesn't have the @type exported in JSON.

The data should be migrated.