Skip to content

Submission attachment is shown as downloadable even when it's missing #706

@lognaturel

Description

@lognaturel

Problem description

Submission attachment is shown as downloadable even when it's missing

URL of the page

https://test.getodk.cloud/#/projects/149/forms/annotate_default/submissions

Steps to reproduce the problem

Make a submission with a missing attachment (for example, in Enketo, annotate an image, scale down the canvas, submit), view the submission table

Screenshot

Screenshot 2024-09-10 at 8 42 56 AM

Expected behavior

If the submission has state missingAttachment, issue HEAD requests for each of the expected attachments and display a red x with a tooltip explanation for any that are missing. See @matthew-white's comment at #706 (comment)

Central version shown in version.txt

versions:
f21b33acc8dae215e54485849e7dd59167e6f433 (v2024.1.0)
 3fb0c22b1cbdc3a6004963afcc3847a82c09307d client (v2024.1.0)
 b4754cf52bfa64b1ca841bc9ccb64a38726398e8 server (v2024.1.0)

Browser version

Firefox

Around when did you see the problem (in UTC)?

3:44 PM
Tuesday, September 10, 2024

Other notes (if any)

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendRequires a change to the UIneeds discussionDiscussion needed before work can begin

    Type

    No type

    Projects

    Status

    🕒 backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions