mirror of
https://github.com/google/nomulus
synced 2026-02-04 20:12:23 +00: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:
@@ -319,7 +319,7 @@ public class DeleteContactsAndHostsAction implements Runnable {
|
||||
ContactResource contact = (ContactResource) resource;
|
||||
resourceToSaveBuilder = contact.asBuilder()
|
||||
.setTransferData(createResolvedTransferData(
|
||||
contact.getTransferData(), TransferStatus.SERVER_CANCELLED, null))
|
||||
contact.getTransferData(), TransferStatus.SERVER_CANCELLED, now))
|
||||
.wipeOut();
|
||||
} else {
|
||||
resourceToSaveBuilder = resource.asBuilder();
|
||||
|
||||
Reference in New Issue
Block a user