Duplicate Template Names

A user managed to end up with two templates on their system that each had the same name.

They didn't realize this -- and were editing their template via Virtualmin, but when creating new Virtual Servers, it was using the other identically named template for sending the welcome mail.

That caused plenty of confusion, as the welcome mail was different in those two templates :-)

Is there something Virtualmin could do in order to detect a situation where two template names are identical, and if that happens, either offer a warning, or find a way to allow access to both?

Status: 
Closed (fixed)

Comments

I think the real bug here is that templates with clashing names shouldn't be allowed in the first place - I'll fix that in the next release.

Technically it should still mostly work OK as they have different unique IDs, but knowing which one is which on the creation form is going to be tricky :-)

Automatically closed -- issue fixed for 2 weeks with no activity.