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

RM 1.1 Outdated templates after installing RM 1.1

Discussion in 'Resource Manager Support' started by The Sandman, Oct 28, 2013.

  1. The Sandman

    The Sandman Well-Known Member

    After installing RM 1.1 Beta 2 I'm getting notification of 5 outdated templates in my Soft Responsive style -
    file_uploader.css, resource_list.css, resource_update.css, resource_view.css, and resource_view_header.css. I did not have any outdated templates before the install. If I try to merge the changes, I get a message telling me that no previous version of the parent could be found, and that merging is not possible.

    I mentioned this to the style developer Arty, who thinks it's a bug in XenForo:
    What should I do about the 5 "outdated" templates?
  2. Mike

    Mike XenForo Developer Staff Member

    His explanation is correct and exactly how it works. I'm not sure what he's saying is wrong there as if you edited the child style before the parent style was edited, that's sort of the very definition of an outdated template.

    However, someone else had something like this with an add-on but it's not something I've ever been able to reproduce.

    If you're still having the issue, can you provide a dump of a few tables? xf_template and xf_template_history should be sufficient.
    The Sandman likes this.
  3. The Sandman

    The Sandman Well-Known Member

    Thanks Mike. In the meantime, just leave the templates "outdated"?
  4. Mike

    Mike XenForo Developer Staff Member

    Well, you may want to update them, but it'd have to be done manually (either with the standard revert/redo method or using the simple 2-way comparison system to figure out what the changes are and whether they need to be applied). The merging issue may not be resolveable retroactively.

    (I have grabbed the data that you sent, thanks.)
    The Sandman likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    Wait, I just realized a few things - I assumed you were upgrading the RM, rather than doing a fresh install. This also seems consistent with the data that you had. You simply had the style installed (that modified RM components) before you had the RM installed itself.

    So yeah, I can see where this is potentially misleading, but I'd rather list something as out of date than not if we're not sure. Since the master template was updated more recently than the customized version, we don't know for a fact that it's not outdated. (We don't only look at version comparisons but actual edit date comparisons.)

    If it's a false positive, you should be able to resolve it by simply saving the template again.
    The Sandman likes this.
  6. The Sandman

    The Sandman Well-Known Member

    I *think* I understand. And fortuitously for me I have @Arty to help me, who advised me to save the templates without making any changes a little while ago. No more outdated templates! Thanks Mike and Arty! :)

Share This Page