5sControl / 5sControl/5s-frontend

[2h] fix bug report's video isn't downloaded

Aperta
#494 1 commento 0 reazioni 1 assegnatario Rivendicata da @AlexGurski Vedi su GitHub
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Summary:** Видео с репорта не скачивается (GET net::ERR_FAILED 200 (OK))
**Environment:**
- win 11

- 110, 111

- Chrome 114

**Precondition:**

- пользователь авторизован,
введен лицензионный ключ,
- авторизована камера с назанченными алгоритмами "Machine Control", "Operation control"
- открыты вкладка "Reports" на странице "Dashboard",
- алгоритмы отфильтрованы по "Machine Control", "Operation control"

**STR:**
1. Кликнуть по репорту
2. Кликнуть по "Open video"
3. Кликнуть по кнопке "Download"

**ER:** Видео скачивается

**AR:** Окно с сообщением об ошибке "Uncaught runtime errors:Failed to fetch TypeError: Failed to fetch"

**Attachments:**
https://drive.google.com/file/d/1Y3OehG_OQzP52pvJ9g9DRbXPSHV0WMDF/view?usp=drive_link
Comments: на "Orders view" тоже самое - не скачивается видео

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue describes a video download failure in the Reports and Orders view. Start by examining the frontend code handling video downloads, likely in components for 'Reports' and 'Orders view'. Check network requests in the browser's developer tools to see the failed fetch error. Look for the download button handler and the API endpoint it calls. Verify the response and any authentication or CORS issues.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.