5sControl / 5sControl/5s-backend

algorithms are deleted after clicking "Done" button in the modal window "Camera Settings"

Offen
#369 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Dimskay1988 Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
2
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Алгоритмы снимаются с камеры, после клика по кнопке "Done" в модальном окне "Camera Settings" на странице "Configuration"

**Precondition:**
-пользователь авторизован
-открыта страница /configuration/camera
-созданы камеры
-на камерах висят алгоритмы

**Environment:**
hp kaunas, 110, 111
win 11
Chrome 114

**STR:**
1. Кликнуть по камере
2. Кликнуть по кнопке "Done" находясь в вкладке "Camera"
3. Кликнуть по камере
4. Кликнуть по кнопке "Done" находясь в вкладке "Zones"

**ER:**
2, 4 шаги - настройки камеры **не изменяются** после клика по кнопке "Done", алгоритмы **висят** на камерах

**AR:**
2, 4 шаги - настройки камеры **изменяются** после клика по кнопке "Done", алгоритмы **не висят** на камерах

**Attachments:**
https://drive.google.com/file/d/1ioaeqVJKBcsJEBurqtCkeHjzYzsf62hV/view?usp=drive_link

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue describes a bug where camera algorithms are removed after clicking 'Done' in the Camera Settings modal. Start by examining the backend views handling camera configuration updates, likely in a Django view or serializer. Look for the endpoint that processes the 'Done' action from the /configuration/camera page. Check the logic for saving camera settings and see if it incorrectly clears algorithm associations. Reproduce the bug using the provided test environment details to verify the fix.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
django, python
Bereich
ai, backend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.