• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  import style + overwrite loses templates

Jake Bunce

XenForo moderator
Staff member
#1
Create two new styles, no parents. Customize a different template in each style. Export both styles. Now import both styles, one with no parent and the other to overwrite the first one.

When you overwrite a style in this scenario the custom template from the overwritten style is lost after the import of the overwriting style. The original customized template doesn't exist (customized or default) in the first style after the overwrite. Running an upgrade in place to rebuild the master data restores the missing template.

Here are the two styles I used for testing.

style a = customized account.css
style b = customized account_alerts
 

Attachments

Mike

XenForo developer
Staff member
#2
I think this will be fixed by a change in approach in beta 3 anyway, but I will double check when I have a chance.