Failed to make the update, Another user has made a change

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [x ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

After DB Restore, when we log in and try to make changes to content we receive “Failed to make the update, Another user has made a change. Please reload”

{
  "logLevel": "Error",
  "action": "GrainInvoked",
  "status": "Failed",
  "grain": "Squidex.Domain.Apps.Entities.Contents.ContentGrain",
  "grainMethod": "System.Threading.Tasks.Task\u00601[Squidex.Infrastructure.Orleans.J\u00601[System.Object]] ExecuteAsync(Squidex.Infrastructure.Orleans.J\u00601[Squidex.Infrastructure.Commands.IAggregateCommand])",
  "exception": {
    "type": "Squidex.Infrastructure.DomainObjectVersionException",
    "message": "Requested version 14 for object \u00274ed1682b-4675-4cb7-9000-248ea09ea3ef\u0027 (type Squidex.Domain.Apps.Entities.Contents.ContentGrain), but found 13.",
    "stackTrace": "   at Squidex.Infrastructure.Commands.DomainObjectGrainBase\u00601.InvokeAsync[TCommand](TCommand command, Func\u00602 handler, Mode mode) in /home/amz/Workspace/swarm/site/cms/backend/src/Squidex.Infrastructure/Commands/DomainObjectGrainBase.cs:line 161\n   at Squidex.Infrastructure.Commands.DomainObjectGrainBase\u00601.ExecuteAsync(J\u00601 command) in /home/amz/Workspace/swarm/site/cms/backend/src/Squidex.Infrastructure/Commands/DomainObjectGrainBase.cs:line 219\n   at Squidex.Domain.Apps.Entities.Contents.OrleansCodeGenContentGrainMethodInvoker.Invoke(IAddressable grain, InvokeMethodRequest request) in /home/amz/Workspace/swarm/site/cms/backend/src/Squidex.Domain.Apps.Entities/obj/Release/netcoreapp3.0/Squidex.Domain.Apps.Entities.orleans.g.cs:line 1077\n   at Orleans.Runtime.GrainMethodInvoker.Invoke()\n   at Squidex.Infrastructure.Orleans.StateFilter.Invoke(IIncomingGrainCallContext context) in /home/amz/Workspace/swarm/site/cms/backend/src/Squidex.Infrastructure/Orleans/StateFilter.cs:line 27\n   at Orleans.Runtime.GrainMethodInvoker.Invoke()\n   at Squidex.Infrastructure.Orleans.LoggingFilter.Invoke(IIncomingGrainCallContext context) in /home/amz/Workspace/swarm/site/cms/backend/src/Squidex.Infrastructure/Orleans/LoggingFilter.cs:line 46"
  },
  "app": {
    "name": "Squidex",
    "version": "1.0.0.0",
    "sessionId": "ec4c6f43-2e52-4873-b5e7-e3aad8793474"
  },
  "web": {
    "requestId": "453da387-35e8-42a5-b668-344ee593a98e",
    "requestPath": "/content/website/thankyou/4ed1682b-4675-4cb7-9000-248ea09ea3ef",
    "requestMethod": "PUT",
    "routeValues": {
      "area": "Api",
      "action": "PutContent",
      "controller": "Contents"
    }
  },
  "timestamp": "2020-10-23T13:28:54Z"

Expected behavior

Able to update content

Minimal reproduction of the problem

https://support.squidex.io/t/failed-to-load-assets/2513/13

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [x ] Self hosted with other version
  • [ ] Cloud version

Version: [4.0.3]

Browser:

  • [ ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

Resolved, I was under the impression we had restored both collections (Squidex & SquidexContent).

1 Like