5sControl / 5sControl/5s-webserver

fix bug: unable to change the SMTP server settings

Offen
#104 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Dimskay1988 Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Summary: не удается изменить настройки SMTP-сервера**

Environment:
- v0.4.2
- KAUNAS / hp
- win 11 pro
- google chrome - версия 114.0.5735.134

Preconditions:
- Пользователь авторизован
- Лицензионный ключ введен
- SMTP server настроен

Steps to reproduce:
1. Перейти на вкладку "Configuration" таб "Notifications"
2. В правом верхнем углу нажать на "Settings"
3. Внести необходимые изменения (например: Username: mary.bilaya@yandex.ru, Password: nofhbcqglgjfzezz)
4. В нижнем правом углу модального окна SMTP server нажать кнопку "Done"

Expected result:
- Сверху экрана появляется всплывающее уведомление "Settings are saved successfully"
- Внесенные изменения отображаются в блоке SMTP server

Actual result:
- Сверху экрана появляется всплывающее уведомление "Settings are saved successfully"
- Информация в блоке SMTP server **НЕ ИЗМЕНЯЕТСЯ**

Attachment:

https://github.com/5sControl/server-/assets/109624457/53644e4d-f7a0-4e17-b095-b5e08c472c2e

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look for the SMTP server settings UI component and the backend API endpoint that handles the update. The issue is that the UI shows a success message but the displayed data does not refresh. Check the frontend code for the notifications configuration tab and the backend code that saves SMTP settings. Verify the API response and how the frontend updates the state after a successful save.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.