5sControl / 5sControl/5s-frontend

[3h] bug with removing the camera and going to the page inventory

未关闭
#409 0 条评论 0 个 reaction 已指派 1 人 已被 @AlexGurski 认领 在 GitHub 查看
bug Front QA done
主要语言
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.

![Image](https://github.com/5sControl/django-front/assets/113969187/2ae57b71-0b69-4440-8dea-a5b1a1cc6ca0)

贡献指南

打开贡献指南

调研方向

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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。