5sControl / 5sControl/5s-frontend

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

Ouverte
#494 1 commentaire 0 réactions 1 personne assignée Réclamée par @AlexGurski Voir sur GitHub
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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" тоже самое - не скачивается видео

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.