mirror of
https://github.com/google/nomulus
synced 2026-01-11 00:10:36 +00:00
Make name and address fields required on Registrar
The absence of these fields causes RDE failures, so they are in effect required on any functioning registry system. We are currently experiencing problems in sandbox caused by null values on these fields. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=155474895
This commit is contained in:
@@ -66,7 +66,11 @@ final class DomainWhoisResponse extends WhoisResponseImpl {
|
||||
|
||||
@Override
|
||||
public WhoisResponseResults getResponse(final boolean preferUnicode, String disclaimer) {
|
||||
Registrar registrar = getRegistrar(domain.getCurrentSponsorClientId());
|
||||
Registrar registrar =
|
||||
checkNotNull(
|
||||
Registrar.loadByClientId(domain.getCurrentSponsorClientId()),
|
||||
"Could not load registrar %s",
|
||||
domain.getCurrentSponsorClientId());
|
||||
Optional<RegistrarContact> abuseContact =
|
||||
Iterables.tryFind(
|
||||
registrar.getContacts(),
|
||||
|
||||
Reference in New Issue
Block a user