Closed (fixed)
Project:
Hosting
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2016 at 21:26 UTC
Updated:
15 Dec 2016 at 09:14 UTC
Jump to comment: Most recent
On the admin/hosting/aliases page, the form cannot be submitted with an empty value for hosting_alias_subdomain.
function hosting_alias_settings_validate($form, $form_state) {
if (!valid_url($form_state['values']['hosting_alias_subdomain'])) {
form_set_error('hosting_alias_subdomain', t('The provided domain is invalid.'));
}
}
This bug appears to have been introduced with #2183551: Validate automatic domain field.
Comments
Comment #2
mrP commentedFor those needing a workaround in the interim, here are the variables that can be adjusted with drush.
Comment #4
helmo commentedThanks for reporting ... I've now added an empty() check.