Master Style (moderator_bar.css has correct version)
- Default Style (moderator_bar.css is not customized)
- - Style #1 (moderator_bar.css is customized and has correct version, installed via xml upload)
- - - Style #2 (moderator_bar.css is customized via control panel, missing version number)
Obviously I am missing something so I will look into it further but No parent styles were present and I was editing a stock standard template with no extra .css or style properties but yet after making a series of edits on a fresh template and then reverting seems to occasionally revert the template to a previous edit and then shows that the template is outdated.
But because it is unrelated I shall leave this thread alone
I've tried to reproduce that bug with anything other than my test style, but can't do it.
It seems to affect all child styles of Style #1. I've checked xml file that was used to import that style, it is correct and moderator_bar.css does have a version number. Installed it again, created child style, modified moderator_bar.css in child style, it had empty version number.
The version number wasn't incorrect - it reflects when the template was last edited. You edited it while running 1.1.1; the master was last edited during the 1.0 RC.
This issue is ultimately caused by the lack of addon_id in that style XML. That's what I need to figure out how to reproduce. I've tried what I thought would trigger it, but I'm not having any luck. Did you first customize those templates ages ago? As it was likely a bug in the past that has since been fixed, but it's not a retroactive fix (you'd have to revert and re-customize to pick it up).
In that case its not a xenforo bug, but a my mistake.
I've merged templates.xml and style_properties.xml in order to extract templates and properties that have color values (for my colorizeit editor). Templates in default templates.xml don't have addon_id, so when merged xml file was imported to xenforo, addon_id didn't exist. Then when it was exported, xenforo added addon_id with empty value because it was empty when xml was imported.