Objects without metadata (e.g. S3 resources) lead to mixed up metadata to file mapping
Hi, thank you for your Python client.
However, when using S3 resources with files for which no metadata has been (yet) created, the metadata array of the REST api is missing this entry and the Python client mixes up the metadata for an object when zipping metadata and files (https://git.rwth-aachen.de/coscine/docs/public/coscine-python-client/-/blob/679fc1047bc076e1af26fc704b0cacd6c7826c46/src/coscine/resource.py#L107).
It can also happen that the S3 object cannot be selected (e.g., to update its metadata) as the zip results in an empty / too small list.