mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
See b/30806813 for more context. Copied from there: This appears to be happening if we get an EPP domain create command that is missing any contacts (but has a registrant; with no registrant we exercise a different codepath). In that case, JAXB leaves the contacts field on the Create null, and we try to pass it into Sets.union() as a result of Corey's refactoring in [] that changed contact loading to load the contacts and registrant all at once. The fix is just to apply nullToEmpty() first. Note that it's always an error to try to create a domain without any non-registrant contacts, but that's supposed to happen later on in BaseDomainCreateFlow.verifyCreateIsAllowed() via validateRequiredContactsPresent(), which will produce a nice error message. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130309019 |
||
---|---|---|
.. | ||
com/google | ||
google/registry |