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

Fixed Overwriting a child style does not apply

Discussion in 'Resolved Bug Reports' started by Adam Howard, Jun 28, 2013.

  1. Adam Howard

    Adam Howard Well-Known Member

    Overwriting a child styles does not apply.

    Let's assume you have a child style of XenForo Default. It has a few small customizations of its own, but the majority of it depends on the parent style (98%).

    Let's say you revert 1 template to match the parent.

    Now lets say either you've come out with an update, so you upload the xml to overwrite that child.

    Doesn't not apply.

    That 1 template you reverted earlier, stays reverted and does not adapt the new xml you told it to rewrite it.

    This is something that should work (it did in XenForo 1.1.x).

    See video as quick example ;)

     
    Steve F likes this.
  2. Adam Howard

    Adam Howard Well-Known Member

    I'm able to reproduce this on non child styles as well.

    Take a normal independent style (not parent or child to anything).

    Revert a single template.

    Import the xml telling it to overwrite the style

    The overwrite does not apply. :(
     
  3. Steve F

    Steve F Well-Known Member

    Yea I was going to post the same results basically. I have confirmed importing and overwriting does not work on a style.

    Also when importing into a parent style the child sometimes does not show the modified templates of the parent style but the template IS modified in the child.
     
    TheComputerGuy and Adam Howard like this.
  4. Mike

    Mike XenForo Developer Staff Member

    This was basically the same thing as in languages - we didn't rebuild the caches after overwriting. This is fixed for the next beta.
     
    Adam Howard and Russ like this.

Share This Page