mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
When resolving a transfer to SERVER_CANCELLED (on delete) still pass in a time
Currently we pass in null. However, from the spec: <domain:acDate> element that contains the date and time of a required or completed response. For a PENDING request, the value identifies the date and time by which a response is required before an automated response action will be taken by the server. For all other status types, the value identifies the date and time when the request was completed." - https://tools.ietf.org/html/rfc5731#page-16, section 3.1.3 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=139363370
This commit is contained in:
parent
a343648b34
commit
438eeb5e38
5 changed files with 12 additions and 9 deletions
|
@ -122,7 +122,7 @@ public final class DomainDeleteFlow implements TransactionalFlow {
|
|||
HistoryEntry historyEntry = buildHistoryEntry(existingDomain, now);
|
||||
Builder builder =
|
||||
ResourceFlowUtils.<DomainResource, DomainResource.Builder>resolvePendingTransfer(
|
||||
existingDomain, TransferStatus.SERVER_CANCELLED, null);
|
||||
existingDomain, TransferStatus.SERVER_CANCELLED, now);
|
||||
builder.setDeletionTime(now).setStatusValues(null);
|
||||
// If the domain is in the Add Grace Period, we delete it immediately, which is already
|
||||
// reflected in the builder we just prepared. Otherwise we give it a PENDING_DELETE status.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue