Jumoo / uSync.Complete.Issues

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

Umbraco commerce shipping methods cannot be created via uSync #231

Open FrontisFrank opened 4 months ago

FrontisFrank commented 4 months ago

Describe the bug When usync tries to create a new shipping method from a usync file the import fails with a null pointer reference exception. Updating an existing shipping method via usync seems to work fine. Sidenote, creating a shipping method via usync import does work if the shippingmethod is not assigned any price. If the shipping method does have prices on creation the import fails, see both attached files.

Version (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Create a shipping method in Umbraco Commerce with a default price
  2. Make sure the usync file is exported
  3. Try to import the shipping method on a machine where the shipping method does not yet exist
  4. A null pointer reference exception is triggered and the shipping method is not created by usync

Expected behavior When importing a new shipping method via uSync the shipping method must be succesfully created.

Screenshots Not able to create via usync: not able to create usync file

Able to create via usync: able to create usync file