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

The composer update was performed in the production environment, causing the uv_uvdesk_*.yaml configuration to be cleared #620

Open yjqphp opened 1 year ago

yjqphp commented 1 year ago

Bug report

Title

Just a quick sentence to brief your trouble with UVDesk or something associated with it. Please be calm, short and emphasize on points.

Issue Description

*The composer update was performed in the production environment, causing the uvuvdesk.yaml configuration to be cleared.**

Preconditions

Please provide as detailed information about your environment as possible.

1. framework Version.   v1.1.1
2. Commit id.

Steps to reproduce

It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.

1. 部署环境
2. 配置mailbox
3. 查看 config/packages/uv_uvdesk_*.yaml
4. 升级组件执行composer update
5. 查看 config/packages/uv_uvdesk_*.yaml

Expected result

Tell us what should happen.

Actual result

*config/packages/uvuvdesk.yaml文件被初始化了**

komal-sh-27 commented 1 year ago

@yjqphp

We have already noticed this issue when we update our project using the composer update command so our configuration files are cleared. We are suggested that if you update your project so you create a backup of configuration files.

If possible we will try to add this feature in the future. If the project has updated so configurations file should not be removed from the project.

yjqphp commented 1 year ago

@Komal-sharma-2712 Backing up configuration files is a good temporary solution. This also brings a new problem: you need to compare the configuration parameters of the two versions to ensure that the parameters are consistent.

komal-sh-27 commented 1 year ago

@yjqphp

This also brings a new problem: you need to compare the configuration parameters of the two versions to ensure that the parameters are consistent.

Alright, If possible we will try to add this feature in the future.