You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When we record or upload audio, we save the original file and also save it as a FLEx-compatible file, of MP3 or WAV type. When we delete, we need to delete both files, not just one. Currently, only the converted file is being deleted.
To Reproduce
Steps to reproduce the behavior:
Open the lf-app/var/www/assets/lexicon/[project-name]/audio Docker container.
In Language Forge, (versions after pull request 1474), upload or record audio for an entry (don't upload an MP3 or WAV file for this). Notice two files for it saved in the container.
In Language Forge, delete this audio from the entry.
Notice that only the converted file was deleted from the container, and the original file is still there.
Expected behavior
Deleting audio from an entry/sense/example will delete all copies of that audio from the audio assets folder.
Screenshots
The top file got left behind when its audio was 'deleted' from Language Forge. The converted .wav file was deleted, but the recorded .webm file was not.
Desktop (please complete the following information):
Describe the bug
When we record or upload audio, we save the original file and also save it as a FLEx-compatible file, of MP3 or WAV type. When we delete, we need to delete both files, not just one. Currently, only the converted file is being deleted.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Deleting audio from an entry/sense/example will delete all copies of that audio from the audio assets folder.
Screenshots
The top file got left behind when its audio was 'deleted' from Language Forge. The converted .wav file was deleted, but the recorded .webm file was not.
Desktop (please complete the following information):
Additional context
See PR 1474: staging tests
The text was updated successfully, but these errors were encountered: