Updating theme deletes custom templates

Created on 1 September 2023, about 1 year ago
Updated 10 September 2023, about 1 year ago

Today I updated your theme, I didn't get errors during process but I see that my custom twig templates, placed under the "templates" folder of Xara theme, where deleted.

Fortunally I always make a backup before update themes and I restored them but is it normal that the "templates" folder is deleted completely before the update?

I can understand for some default files like "xara.libraries.yml" (where I put additional css to be loaded), but not for custom overwrites.

🐛 Bug report
Status

Closed: works as designed

Version

10.1

Component

Code

Created by

🇮🇹Italy smurfxx

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @smurfxx
  • Status changed to Closed: works as designed about 1 year ago
  • 🇮🇳India ravis

    Hello,

    I guess this is how Drupal update works. It deletes all previous files and folder and upload new files and folder.
    This is same when you update using composer.

Production build 0.71.5 2024