5sControl / 5sControl/5s-frontend
[2h] fix bug report's video isn't downloaded
- 主要语言
- TypeScript
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
**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" тоже самое - не скачивается видео
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100