Submitted by aitte on Tue, 02/19/2013 - 12:56
in my server template, i have set "prefix for additional databases" to "${USER}_"
if i edit/add databases on a server, the form properly shows that this is enforced, by rendering the form as "myadminguy_[yourdbname]"
however, if i go to add a new sub-server to an account, the form is unaware of the feature, and will attempt to create a new sub-server with a database named after the subserver itself. virtualmin fails to create the server with the message "Failed to create virtual server : Database name must start with myadminguy_"
so, the "create new sub-server" form needs to behave the same way as the add/edit databases option does. in other words: be aware of enforced prefixes.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 02/19/2013 - 14:00 Comment #1
I see the error here - the DB name restriction shouldn't be enforced in the case where it is selected automatically. I'll fix that in the next release.
Submitted by Issues on Tue, 03/05/2013 - 14:02 Comment #2
Automatically closed -- issue fixed for 2 weeks with no activity.