5sControl / 5sControl/5s-backend

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

未关闭
#369 0 条评论 0 个 reaction 已指派 1 人 已被 @Dimskay1988 认领 在 GitHub 查看
bug
主要语言
Python
星标
2
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Алгоритмы снимаются с камеры, после клика по кнопке "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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
django, python
领域
ai, backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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