5sControl / 5sControl/5s-backend
algorithms are deleted after clicking "Done" button in the modal window "Camera Settings"
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Алгоритмы снимаются с камеры, после клика по кнопке "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
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- ai, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100