Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NewEntry & EditDialog] Temp recordings deleted while still expected #3317

Open
imnasnainaec opened this issue Aug 22, 2024 · 0 comments
Open
Labels

Comments

@imnasnainaec
Copy link
Collaborator

imnasnainaec commented Aug 22, 2024

Describe the bug

When adding audio to an in-progress entry (either in DataEntryTable > NewEntry or in ReviewEntriesTable > EditCell > EditDialog), the audio is temporarily saved in-browser. Upon submission, that files is sent to the backend then deleted from the browser. It appears that the deletion happens before the component pointing to it has cleared, resulting in a console error.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Data Entry and select any domain
  2. In the new entry line, add a vernacular and gloss and audio recording
  3. With the focus in the gloss field, press Enter to submit the entry
  4. See console error, e.g.:

On Chrome

GET blob:https://qa-kube.thecombine.app/7e0ee322-0dee-4514-95b3-7727a1d46f6d net::ERR_FILE_NOT_FOUND

On Firefox

Security Error: Content at https://qa-kube.thecombine.app/app/data-entry may not load data from blob:https://qa-kube.thecombine.app/f83539be-3eee-45bf-82b1-bda9e1622943.

Expected behavior

No error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant