5sControl / 5sControl/5s-frontend

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

Đang mở
#409 0 bình luận 0 reaction 1 người được giao Được @AlexGurski nhận Xem trên GitHub
bug Front QA done
Ngôn ngữ chính
TypeScript
Star
3
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
react, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.