5sControl / 5sControl/5s-frontend

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

Ouverte
#409 0 commentaires 0 réactions 1 personne assignée Réclamée par @AlexGurski Voir sur GitHub
bug Front QA done
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.