5sControl / 5sControl/5s-frontend
[3h] bug with removing the camera and going to the page inventory
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Preconditions: пользователь авторизован, получена лицензия, добавлены 4 камеры, к камере 192.168.1.162 подключен МинМакс.
1. Открыть приложение;
2. Открыть вкладку Configuration;
3. Удалить камеру 192.168.1.162;
4. Открыть вкладку Inventory.
Result: Uncaught runtime errors, страница не открыта.
Expecte result: Открыта вкладку inventory.

Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100