Won't fix It's possible to create a template named as existing one

CyberAP

Well-known member
To reproduce this bug:
  • Open your style templates list and hit 'Create new template'
  • Name the template 'xenforo.css' and leave it empty (or you can enter something, doesn't matter)
  • Save it and check how your forum looks now.
Reverting template brings back the old one.

Expected behaviour: I should get an error when trying to overwrite existing template.

Bug appears in XF 1.1.5 and XF 1.2 beta 1.
 
Basically, what you're doing is no different than when you create a newly customized template in a style by clicking on one of the existing templates - they basically get submitted the same way. (Note this only happens when the template in question doesn't explicitly exist in the style - if the template does exist and you try to create another, it will error.)

Quite a lot to consider for a very edge case IMO.
 
Back
Top Bottom