Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Umbraco commerce shipping methods cannot be created via uSync #231

Open
FrontisFrank opened this issue May 14, 2024 · 0 comments
Open

Umbraco commerce shipping methods cannot be created via uSync #231

FrontisFrank opened this issue May 14, 2024 · 0 comments

Comments

@FrontisFrank
Copy link

FrontisFrank commented May 14, 2024

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):

  • Umbraco Version: 13.2.2
  • uSync.Complete Version: 13.1.3
  • uSync.Umbraco.Commerce Version: 12.0.0-rc2

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant