This may be functioning as intended, but I wanted to raise it nonetheless.
When a customized template is added, two values are saved into the database, old and diff, referring to the original template, and the changes made.
If the underlying template gets changed, old and diff no longer reflect the proper changeset, and could cause issues if the original template contains breaking changes. This is because diff is applied onto old, and then saved to the templates folder, so it will never inherit the updated template.
e.g.
- Persona
templates/partials/chats-menu.tpl contained changes, it now contains tabs and shows profile options, notifications, as well as chats.
- If that partial was changed in any way,
chats-menu.tpl will always contain the old modified template, and will not inherit any new changes to that partial.
This may be functioning as intended, but I wanted to raise it nonetheless.
When a customized template is added, two values are saved into the database,
oldanddiff, referring to the original template, and the changes made.If the underlying template gets changed,
oldanddiffno longer reflect the proper changeset, and could cause issues if the original template contains breaking changes. This is becausediffis applied ontoold, and then saved to the templates folder, so it will never inherit the updated template.e.g.
templates/partials/chats-menu.tplcontained changes, it now contains tabs and shows profile options, notifications, as well as chats.chats-menu.tplwill always contain the old modified template, and will not inherit any new changes to that partial.