5sControl / 5sControl/5s-webserver
bug with with re-adding Emails
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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 не добавлен.

Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100