Skip to content

Commit

Permalink
Merge branch 'release/3.425.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
vc-ci committed Dec 19, 2023
2 parents 07fe19f + 0dc432e commit 831e34c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<!-- These properties will be shared for all projects -->
<PropertyGroup>
<VersionPrefix>3.424.0</VersionPrefix>
<VersionPrefix>3.425.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public override async Task SaveChangesAsync(IList<CustomerOrder> models)
repository.PatchRowVersion(originalEntity, modifiedOrder.RowVersion);

var oldModel = originalEntity.ToModel(AbstractTypeFactory<CustomerOrder>.TryCreateInstance());
await LoadOrderDependenciesAsync(oldModel);
_totalsCalculator.CalculateTotals(oldModel);

// Workaround to trigger update of auditable fields when only updating navigation properties.
Expand Down Expand Up @@ -147,6 +148,7 @@ public override async Task SaveChangesAsync(IList<CustomerOrder> models)
// We need to CalculateTotals for the new Order, because it is empty after entity.ToModel creation
_totalsCalculator.CalculateTotals(changedModel);

await LoadOrderDependenciesAsync(changedModel);
changedEntry.NewEntry = changedModel;
}

Expand Down
2 changes: 1 addition & 1 deletion src/VirtoCommerce.OrdersModule.Web/module.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<module>
<id>VirtoCommerce.Orders</id>
<version>3.424.0</version>
<version>3.425.0</version>
<version-tag />

<platformVersion>3.447.0</platformVersion>
Expand Down

0 comments on commit 831e34c

Please sign in to comment.