uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.18k stars 448 forks source link

生产环境下修改完邮箱配置,不清除缓存会导致程序无法读取到最新配置 #623

Closed yjqphp closed 1 year ago

yjqphp commented 1 year ago

Bug report

Title

生产环境下修改配置不生效,不清除缓存会导致程序无法读取到配置.

Issue Description

Description helps the developers to understand the bug. It describes the problem encountered or some after effect of some kind.

Preconditions

生产环境(APP_ENV=prod)时修改邮箱配置,修改完成后uvdesk.yaml中文件有正常更改,程序通过$this->getParameter('uvdesk.support_email.id')获取到的还是旧的配置.

1. v.1

Steps to reproduce

1. 更改环境环境变量APP_ENV=prod
2.  登录管理后台修改邮箱设置。
3. 

Expected result

Actual result

Tell us what happens instead.

komal-sh-27 commented 1 year ago

@yjqphp

Thanks for reporting. We have already noticed this issue. If we do the setup in prod mode of the mailbox and email settings so these settings need to clear the cache of the project for the configuration shown in the settings. We will try to fix it in the future.