Browse Source

Another test fixed.

pull/329/head
Sebastian Stehle 7 years ago
parent
commit
980cc84486
  1. 2
      src/Squidex.Infrastructure/Commands/DomainObjectGrainBase.cs

2
src/Squidex.Infrastructure/Commands/DomainObjectGrainBase.cs

@ -185,7 +185,7 @@ namespace Squidex.Infrastructure.Commands
if (result == null)
{
if (Version > 0)
if (mode == Mode.Update || (mode == Mode.Upsert && Version == 0))
{
result = new EntitySavedResult(Version);
}

Loading…
Cancel
Save