in hosting_site.module

change the language test to

if (!array_key_exists($node->site_language, hosting_get_profile_languages($node->profile, $node->platform)) && !$node->nid ) {
form_set_error('site_language', t('Please fill in a valid language'));
}

otherwise you cannot edit imported sites in languages not present on the platform

Comments

adrian’s picture

Status: Active » Fixed

Fixed in master.

thanks.

Status: Fixed » Closed (fixed)

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

  • Commit ae0a773 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by adrian:
    Only validate the language selection on a site when it is being created...

  • Commit ae0a773 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by adrian:
    Only validate the language selection on a site when it is being created...