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

[BUG] uSync throws Object reference not set to an instance of an object. [Umbraco.UplaodFile] #219

Closed
DresBaumann opened this issue Apr 13, 2021 · 3 comments
Assignees
Labels
release/8.9.1 Patch release uSync.Complete Issue inside uSync.Complete (other repo)

Comments

@DresBaumann
Copy link

uSync throws Object reference not set to an instance of an object.
image

when syncing Media with empty Umbraco.UploadField.

We set the field with the name UmbracoFile with the datataype UploadField to not mandatory but when syncing, it throws an error.

uSync 8
v8.8.5.0 + Content Edition (v8.8.5.0), Snapshots (v8.9.3.0), Exporter (v8.9.3.0), PeopleEdition (v8.9.3.0), Publisher (v8.9.3.0), Complete (v8.9.3.0)

To Reproduce
Steps to reproduce the behavior:

Create a Mediatype with the field Umbraco.UploadFile (not mandatory) and some other fields.
In Media create an object with this Mediatype.

Populate the other fields but not the Umbraco.UplaodFile, try to publish it to another environment.

Expected behavior
The Sync should work without any issues

About your Site (please complete the following information):

  • Umbraco Version: 8.10.1
  • uSync Version: v8.8.5.0 + Content Edition (v8.8.5.0), Snapshots (v8.9.3.0), Exporter (v8.9.3.0), PeopleEdition (v8.9.3.0), Publisher (v8.9.3.0), Complete (v8.9.3.0)
  • Browser: Chrome

Additional context
A Workarround would be to populate this field everytime but this is not an option for our customer.
Do you know this Issue / or an Workaround.

Thanks

@KevinJump
Copy link
Owner

Hi, Not been reported before but I will take a look today.

@DresBaumann
Copy link
Author

Thanks for having a look at it!

@KevinJump
Copy link
Owner

Hi,
this is fixed in uSync.Complete release 8.9.4 which we have just pushed out.

https://github.com/Jumoo/uSync.Complete.Issues/releases/tag/8.9.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/8.9.1 Patch release uSync.Complete Issue inside uSync.Complete (other repo)
Projects
None yet
Development

No branches or pull requests

2 participants