5sControl / 5sControl/5s-webserver

fix bug in add camera

Open
#24 0 comments 0 reactions 1 assignee Claimed by @ZhuchkouAA View on GitHub
bug Idle QA done
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

summary: dashboard: при добавлении четвертой камеры, добавленная камера не отображается на дашборде(дропдаун select cameras), репорты с камер не записываются.
1. Открыть приложение;
2. Открыть вкладку Algorithms;
3. Выбрать IDLE CONTROL;
4. Подключить четыре камеры(последний подключена камера .169);
5. Создать тестовый сценарий(в кадре был в 11:10, 11:11, 11:20);
6. Открыть Открыть Dashboard.
Result: После истечения лицензии, репорты с камер не внесены, камера .169 не отображается в дропдауне select cameras, камера отображается во вкладке Company.
Expected result: Репорты с камер внесены, камера .169 отображается в дропдауне select cameras.

![Image](https://user-images.githubusercontent.com/113969187/223965663-5dbeabdb-6da8-4c3a-94fc-cd0ea77a13df.gif)

![Image](https://user-images.githubusercontent.com/113969187/223975143-1f40728c-898b-437d-8ff7-d07bee17d5b5.png)

Contributor guide

Open the contributing guide

Research direction

The issue describes a bug where adding a fourth camera (.169) causes it to not appear in the dashboard dropdown and stops reports from being recorded. Start by examining the dashboard component, likely in a frontend directory, and the camera management logic in the backend. Look for limits or array handling around four cameras. Check the 'Company' tab display to see how cameras are listed there differently. Running the application and replicating the steps with four cameras is necessary to see the failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.