Problem description
In media widgets ( audio, video, signature, file, image, draw widgets) the attached file isn't removed after using the X button and confirming the deletion while editing the submission. After reopening the edited submission the deleted files are still present.
The issue occurs both on test.getodk.cloud and staging.getodk.cloud but there is different information in "Submission details" page in "Edited" part.
Screenshot
Steps to reproduce
- Create a submission with uploaded media in image, audio, video, file widgets or use the submission nr 1 in
https://staging.getodk.cloud/projects/235/forms/all-widgets/submissions
- Open the editing submission page.
- Go to media widgets and click X and confirm deleting the file in the dialog.
- Send the submission.
- Check the "submission details" page- on test.getodk.cloud there's no info about the changes; on staging.getodk.cloud the deleted file gets a new name.
- Open the editing submission page again- check if the media files are removed.
Expected behavior
The deleted media should be removed.
Web Forms version
v0.24.0
Browser
Chrome, Firefox
Problem description
In media widgets ( audio, video, signature, file, image, draw widgets) the attached file isn't removed after using the X button and confirming the deletion while editing the submission. After reopening the edited submission the deleted files are still present.
The issue occurs both on test.getodk.cloud and staging.getodk.cloud but there is different information in "Submission details" page in "Edited" part.
Screenshot
Steps to reproduce
https://staging.getodk.cloud/projects/235/forms/all-widgets/submissions
Expected behavior
The deleted media should be removed.
Web Forms version
v0.24.0
Browser
Chrome, Firefox