5sControl / 5sControl/5s-webserver

bug with with re-adding Emails

Đang mở
#84 2 bình luận 0 reaction 1 người được giao Được giao cho @Dimskay1988 Xem trên GitHub
bug QA done
Ngôn ngữ chính
JavaScript
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Preconditions: пользователь авторизован, получена лицензия, создано подключение к БД, подключен SMTP server.
Summary: Configuration(notifications), при нажатии на кнопку add email возможно добавить уже используемый email.
1. Открыть приложение;
2. Открыть вкладку Configuration;
3. Открыть страницу notifications;
4. Правый клик по кнопке add email;
5. Ввести email(пример raketskiy.artyom@gmail.com);
6. Нажать Enter;
7. Правый клик по кнопке add email;
8. Ввести email(пример raketskiy.artyom@gmail.com);
9. Нажать Enter.
Result: email добавлен.
Expecte result: email не добавлен.

![Image](https://github.com/5sControl/server-/assets/113969187/c69ff753-c854-489c-94cd-facbeebb9935)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

The issue is in the notifications configuration page where duplicate emails can be added. Look for the frontend component handling the 'add email' button and the backend API endpoint that processes the email submission. Check for validation logic to prevent duplicates, likely in a file related to notifications or user settings. Verify by testing the add email flow after implementing the fix.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
api, backend
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.