5sControl / 5sControl/5s-webserver

bug with shutdown algorithm Idle control

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

描述

Preconditions: пользователь авторизован, получена лицензия, добавлена камера, к камере подключен idle control.
Summary: Configuration, невозможно отключить idle от камеры.
1. Открыть приложение;
2. Открыть вкладку Configuration;
3. Выбрать камеру(пример 192.168.1.165);
4. Отключить idle;
5. Правый клик по кнопке done.
Result: 500 ошибка, idle не отключен.
Expecte result: idle отключен.

![Image](https://github.com/5sControl/server-/assets/113969187/d4a56fa2-f83c-4e2a-95cc-5ec2b734d2fd)
![Image](https://github.com/5sControl/server-/assets/113969187/19243c9f-8bf5-4c33-b738-d4d91e0bb586)
![Image](https://github.com/5sControl/server-/assets/113969187/ff48188a-bf00-4003-93ca-5485fa1fe699)

贡献指南

打开贡献指南

调研方向

The issue describes a 500 error when disabling idle control for a camera in the Configuration tab. Start by finding the API endpoint handling camera configuration updates, likely in a routes or controllers directory. Look for error logs related to idle control disconnection. Check the server response format and ensure the idle control state is properly validated and persisted. Verify the fix by testing the camera configuration flow.

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

评估

技术栈
javascript
领域
api, backend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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