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

Dictionary Field - Null reference exception #43

Closed
peterkeating opened this issue Oct 17, 2019 · 0 comments · Fixed by #45
Closed

Dictionary Field - Null reference exception #43

peterkeating opened this issue Oct 17, 2019 · 0 comments · Fixed by #45
Labels
bug Something isn't working

Comments

@peterkeating
Copy link
Member

When rendering the display of the dictionary field, if Model.Data is null it blows up.

https://github.com/EtchUK/Etch.OrchardCore.Fields/blob/master/Views/DictionaryField.cshtml#L9

@peterkeating peterkeating added the bug Something isn't working label Oct 17, 2019
peterkeating added a commit to EtchUK/Etch.OrchardCore.SEO that referenced this issue Oct 17, 2019
Noticed as there is actually an issue with the dictionary field when
rendering that was causing pages to not render. The custom dictionary
field will no longer render when displaying a meta tags part.

EtchUK/Etch.OrchardCore.Fields#43
peterkeating added a commit to EtchUK/Etch.OrchardCore.SEO that referenced this issue Oct 17, 2019
Noticed as there is actually an issue with the dictionary field when
rendering that was causing pages to not render. The custom dictionary
field will no longer render when displaying a meta tags part.

EtchUK/Etch.OrchardCore.Fields#43
peterkeating added a commit that referenced this issue Oct 29, 2019
peterkeating added a commit that referenced this issue Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant