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

Discussion in 'Resolved Bug Reports' started by Jake Bunce, Nov 5, 2010.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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
     

    Attached Files:

  2. Mike

    Mike XenForo Developer Staff Member

    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.
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This is fixed in beta 3. I just tested it.
     

Share This Page