-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Umbraco.Cms 13.10.0
Umbraco.Commerce 13.2.4
uSync.Complete 13.2.2
uSync.Umbraco.Commerce 13.1.0-rc-1
We have Umbraco 13 site with Umbraco Complete and Umbraco Commerce installed.
When trying to create an Export sync pack of the Commerce Store from the Commerce Section (not Settings) we get the following error:
Object reference not set to an instance of an object. at uSync.Exporter.Controllers.uSyncNuExporterApiController.GetNameAndUdi(ExportInfo exportItem)
at uSync.Exporter.Controllers.uSyncNuExporterApiController.GetSyncItems(IEnumerable`1 exportItems)
at lambda_method1283(Closure, Object, Object[])
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Nothing is reported in the log viewer for this but we see the error in the browser console for the call to /umbraco/backoffice/usync/usyncnuexporterapi/GetSyncItems with Payload:
[{id: "969f1d6a-d7d9-40f3-a344-01999edb73cf", udi: null, name: "My store", nodeType: "my store",…}]
0
:
{id: "969f1d6a-d7d9-40f3-a344-01999edb73cf", udi: null, name: "My store", nodeType: "my store",…}
id
:
"969f1d6a-d7d9-40f3-a344-01999edb73cf"
includeAncestors
:
true
includeChildren
:
false
includeDependencies
:
true
includeMedia
:
false
includeViews
:
false
name
:
"My store"
nodeType
:
"my store"
udi
:
null
When using USync core or publisher we can sync the store but not all properties are transferred. The main issue for us is that Product Attributes are not included.