sillsdev / sillsdev/TheCombine
[NewEntry & EditDialog] Temp recordings deleted while still expected
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 10
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 9
Description
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:
- Go to Data Entry and select any domain
- In the new entry line, add a vernacular and gloss and audio recording
- With the focus in the gloss field, press Enter to submit the entry
- 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error through DataEntryTable > NewEntry and ReviewEntriesTable > EditCell > EditDialog, then trace the temporary in-browser recording cleanup during submission. The work is done when submitting an entry with an audio recording produces no browser console error in Chrome or Firefox.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100