sillsdev / sillsdev/TheCombine

[NewEntry & EditDialog] Temp recordings deleted while still expected

Open
#3,317 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

audio bug component: DataEntry frontend goal: ReviewEntries lowpriority
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:

  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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.