Jumoo / uSync.Complete.Issues

Public Issue tracker and roadmap for uSync.Complete
https://jumoo.co.uk/usync/complete/
2 stars 1 forks source link

v10 snapshots fail due to Umbraco Forms #178

Closed PhyxionNL closed 2 years ago

PhyxionNL commented 2 years ago

Describe the bug

[HTTP/2 500 Internal Server Error 3275ms]

ExceptionMessage    "Could not load type 'Umbraco.Forms.Core.Services.IBaseService`3' from assembly 'Umbraco.Forms.Core, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null'."
ExceptionType   "System.TypeLoadException, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
StackTrace  " at uSync.Forms.Services.SyncFormService.GetAllPreValues()\r\n at uSync.Forms.Handlers.PreValueHandler.ExportAll(String folder, HandlerSettings config, SyncUpdateCallback callback)\r\n at uSync.BackOffice.uSyncService.Export(String folder, IEnumerable`1 handlers, uSyncCallbacks callbacks)\r\n at uSync.BackOffice.uSyncService.Export(String folder, SyncHandlerOptions handlerOptions, uSyncCallbacks callbacks)\r\n at uSync.Snapshots.Services.SnapshotService.CreateSnapshot(SnapshotCreateOptions option…e from previous location ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)"

Version (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Create a form.
  2. Export full snapshot.
  3. Snapshot returns "Error". In console the above error is logged.
PhyxionNL commented 2 years ago

This is probably because uSync Forms is still on v9 🙂

KevinJump commented 2 years ago

Hi, yeah forms is next on our list :)

KevinJump commented 2 years ago

Yes uSync.Forms v10 is out and this error does happen anymore .

https://www.nuget.org/packages/uSync.Forms/10.0.0