5sControl / 5sControl/5s-webserver

fix bug Can't add zone with some areas

Ouverte
#121 0 commentaires 0 réactions 1 personne assignée Réclamée par @oleg-nai Voir sur GitHub
bug
Langage dominant
JavaScript
Étoiles
1
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Summary: Падает docker контейнер с machine control при назначении на алгорит зону с несколькими областями

Envornment:
http://192.168.1.110:3000/
Win 10, macOS
Chrome 115.0.5790.99

Precondition:
Пользователь авторизован
Открыта вкладка "Camera" на странице "Configuration" (http://192.168.1.110:3000/configuration)
Авторизована камера
На камере создана зона с несколькими областями

Steps to reproduce:
1. Кликнуть по авторизованной камере
2. В модальном окне "Camera settings" открыть вкладку "Algorithms"
3. Назначить на алгоритм Machine control область с несколькими зонами

Expected result:
Сообщение "Camera created".
Docker контейнер не падает и приходят репорты.

Actual result:
Сообщение "Camera created".
Docker контейнер падает и не приходят репорты.

![Image](https://user-images.githubusercontent.com/86359211/260714796-d20e7fb2-aec7-4876-aadf-311e07619f73.png)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

The issue involves a Docker container crash when assigning a multi-area zone to a machine control algorithm. Start by examining the camera configuration and algorithm assignment logic in the backend. Look for error logs from the failing Docker container and check the zone/area handling code. Verify the fix by testing zone assignment and monitoring container stability.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
docker, javascript
Domaine
backend, full-stack
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.