5sControl / 5sControl/5s-frontend

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

Offen
#494 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @AlexGurski Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.