5sControl / 5sControl/5s-frontend
[3h] bug with removing the camera and going to the page inventory
- 主要语言
- TypeScript
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
Preconditions: пользователь авторизован, получена лицензия, добавлены 4 камеры, к камере 192.168.1.162 подключен МинМакс.
1. Открыть приложение;
2. Открыть вкладку Configuration;
3. Удалить камеру 192.168.1.162;
4. Открыть вкладку Inventory.
Result: Uncaught runtime errors, страница не открыта.
Expecte result: Открыта вкладку inventory.

贡献指南
调研方向
The bug occurs when removing a camera with a connected MinMax device and navigating to the Inventory page, causing runtime errors. Start by examining the camera removal logic in the Configuration tab and the data flow to the Inventory component. Look for unhandled state updates or missing null checks related to the removed camera's MinMax association. Verify the fix by reproducing the steps and ensuring the Inventory page loads without errors.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100