When "domain limit for client" is enabled, the domain listbox is empty on the "add/edit Web Domain"
Test :
- a client is defined
- 2 DNS-Zone are defined, and assigned to the client.
Creating a webdomain :
- When "domain limit for client" is disabled, any domain name can filled. It's OK
- But when "domain limit for client" is enabled, the list-box for 'domain' is empty. The web-dmain can not be created.
Modifying a webdomain :
- When "domain limit for client" is disabled, the field "domain" is prefilled with the domain. The web-domain can be modified.
- When "domain limit for client" is enabled, the list-box for 'domain' is empty. If I try to leave the panel, an error message appears, asking me validate my change.
It have noticed that 'domain' mysql table is empty.
The "DNS" management interface seem to use the tble "dns_soa" to store DNS Zone informations (/var/www/ispconfig/dns/dns_soa_edit.php, /var/www/ispconfig/dns/dns_wizard.php)
But the "web-domain" management interface seem to use the table "domain" to get information
- /usr/local/ispconfig/interface/web/sites/web_domain_edit.php -> "$domains = $app->tools_sites->getDomainModuleDomains();"
- /usr/local/ispconfig/interface/lib/classes/tools_sites.inc.php -> "SELECT domain_id, domain FROM domain WHERE domain_id = " . $app->functions->intval($domain_id);