5sControl / 5sControl/5s-webserver

fix bug: unable to change the SMTP server settings

オープン
#104 コメント 3 件 リアクション 0 件 担当者 1 名 @Dimskay1988 が担当を希望しています GitHub で見る
bug
主要言語
JavaScript
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

**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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
api, backend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。