Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yjqphp opened this issue Nov 16, 2022 · 3 comments
Assignees
Labels
Composer Update Regarding when we use composer update command missing configuration files

Comments

@yjqphp
Copy link

yjqphp commented Nov 16, 2022

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

  • [Screenshots, logs or description]

Actual result

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

  • [points....]
@komal-sh-27
Copy link
Contributor

@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
Copy link
Author

yjqphp commented Nov 17, 2022

@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
Copy link
Contributor

@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.

@komal-sh-27 komal-sh-27 added Composer Regarding Composer issues Composer Update Regarding when we use composer update command missing configuration files and removed Composer Regarding Composer issues labels Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Composer Update Regarding when we use composer update command missing configuration files
Projects
None yet
Development

No branches or pull requests

3 participants