google-nomulus/docs
nickfelt e1c9395749 Simplify blocking of renews for domains in pending transfer
This tweaks the logic that prohibits domain renews during pending transfers to just use the regular verifyNoDisallowedStatuses() check instead of a special check on TransferData with a custom exception.  This is simpler and produces a better error message: we get "Operation disallowed by status: pendingTransfer" instead of "Object with given ID (foo.com) already has a pending transfer" (which is intended for use when denying a transfer request for an object already being transferred, not for this case).

For the record, we originally prohibited renews for domains in pending transfer because there's no good reason to do such a renew: b/12533793.  But in fact our transfer server-approve logic relies heavily on this behavior, because otherwise the domain's expiration time computed in cloneProjectedAtTime() will reflect the transfer year added to the post-renew expiration time, whereas all the transfer server approve entities (e.g. new autorenew billing event) will reflect the pre-renew expiration time at the moment the transfer was requested.  As such, it would be quite difficult to ever support a renew during pending transfer, since it would need to change many fields within the transfer server approve entities.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150325501
2017-03-21 15:21:28 -04:00
..
operational-procedures Add a new reservation type to support nameserver restrictions 2017-03-21 14:56:31 -04:00
admin-tool.md Add information to doc on which app the nomulus tool connects to 2016-11-10 11:12:23 -05:00
app-engine-architecture.md Daggerize ExportSnapshotServlet and CheckSnapshotServlet 2017-01-30 15:03:53 -05:00
code-structure.md Use cursor to track updating of registrar sheet 2016-11-10 11:21:29 -05:00
coding-faq.md Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
configuration.md Move the environment configuration YAML files into the main JAR 2017-02-06 16:46:52 -05:00
developing.md Add link to final ReferenceUnion migration commit in Developing doc 2016-11-15 15:15:55 -05:00
first-steps-tutorial.md Add temporary extra steps to "first steps tutorial" in docs 2016-10-18 10:59:39 -04:00
flows.md Simplify blocking of renews for domains in pending transfer 2017-03-21 15:21:28 -04:00
install.md Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
operational-procedures.md Add Markdown documentation for WHOIS metrics 2017-03-13 10:36:52 -04:00
rde-import-architecture.md Document TLD import architecture 2017-03-13 11:22:38 -04:00
rde-import-usage.md Add usage documentation for RDE imports 2017-02-09 14:24:38 -05:00
registrar-faq.md Add Registrar FAQ document 2016-10-24 10:55:37 -04:00