community-skeleton icon indicating copy to clipboard operation
community-skeleton copied to clipboard

[Suggestion] Avoid upgrade to made user loose settings

Open PeopleInside opened this issue 4 years ago • 1 comments

Description

Currently updating / upgrading UVdesk will replace the following configuration files:

swiftmailer.yaml uvdesk_mailbox.yaml uvdesk.yaml translation.yaml

As in this issue https://github.com/uvdesk/community-skeleton/issues/355#issuecomment-832002613 you or user forget this file are missed the UVdesk will be broken and visually all can looks fine, you notice of issue just when user send a ticket or operator write a reply and no email are sent without, currently a visual warning error.

Can be the upgrade process improved to keep essential configuration file? This file don't need to be updated as user has currently to put back from the backup after the upgrading.

Upgrading should avoid deletion of the configurations files.

PeopleInside avatar May 06 '21 07:05 PeopleInside

@PeopleInside

Actually at the time of project creation and when updating the project, some of our default template copy from core-framwork into main project.

So due to this it again make all setting done into below file as default setting (under config/packages)

swiftmailer.yaml uvdesk_mailbox.yaml uvdesk.yaml translation.yaml

So for now before updating take a backup of this folder and replace into new one.

We will check if we can do a patch for this.

papnoisanjeev avatar May 06 '21 10:05 papnoisanjeev