Skip to content

In case of no assignment submissions, download-best-solutions produces empty (0B) file instead of proper empty zip file #536

Open

Description

@kliberf

If there are no best solutions of an assignment, exercise-assignments/{id}/download-best-solutions API call (or clicking the Download bests (or invoking) produces an invalid ZIP file

It would be better to return valid (but empty) ZIP file instead

Base64 encoding of an empty zip file is UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA==

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions