mirror of
https://github.com/google/nomulus
synced 2026-09-03 06:36:56 +00:00
Add double-replay to remaining existing ReplayExtension calls (#1297)
The only other change is that we need to reconstitute serverApproveEntities for DomainTransferData in more situations (to fill out the ofy keys)
This commit is contained in:
@@ -157,10 +157,12 @@ public class DomainTransferData extends TransferData<DomainTransferData.Builder>
|
||||
DomainBase.restoreOfyFrom(rootKey, billingCancellationId, billingCancellationHistoryId);
|
||||
|
||||
// Reconstruct server approve entities. We currently have to call postLoad() a _second_ time
|
||||
// if the billing cancellation id has been reconstituted, as it is part of that set.
|
||||
// if any of the billing objects have been reconstituted, as they are part of that set.
|
||||
// TODO(b/183010623): Normalize the approaches to VKey reconstitution for the TransferData
|
||||
// hierarchy (the logic currently lives either in PostLoad or here, depending on the key).
|
||||
if (billingCancellationId != null) {
|
||||
if (billingCancellationId != null
|
||||
|| serverApproveBillingEvent != null
|
||||
|| serverApproveAutorenewEvent != null) {
|
||||
serverApproveEntities = null;
|
||||
postLoad();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user