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.32k stars 452 forks source link

[Suggestion] Avoid upgrade to made user loose settings #402

Open PeopleInside opened 3 years ago

PeopleInside commented 3 years ago

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.

papnoisanjeev commented 3 years ago

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