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

Fix NullReferenceException when mapping Name to a property value #54

Merged
merged 2 commits into from
Oct 15, 2022
Merged

Conversation

dojscart
Copy link
Contributor

Prevent null reference exception if a value gets mapped from NuCache.PublishedContent.Name and the value is null.

This can happen when content with a localised set of values references another piece of content, and that other piece of content does not have a published version for that language

dojscart and others added 2 commits October 14, 2022 10:32
Prevent null reference exception if a value gets mapped from NuCache.PublishedContent.Name and the value is null.

This can happen when content with a localised set of values references another piece of content, and that other piece of content
does not have a published version for that language
@AndyButland AndyButland merged commit 04f1bca into AndyButland:master Oct 15, 2022
@AndyButland
Copy link
Owner

Looks good, thanks for this. It's been a while since I updated this package but will see about getting a release out with this fix in for you.

@AndyButland
Copy link
Owner

You will find 4.2.3 on NuGet and our now with this fix included.

@dojscart
Copy link
Contributor Author

Great :) thanks for this!

@dojscart dojscart deleted the patch-1 branch October 17, 2022 10:05
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

Successfully merging this pull request may close these issues.

2 participants