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

FormLocation ArgumentNullException #14935

Closed
jtkech opened this issue Dec 22, 2023 · 0 comments · Fixed by #14936
Closed

FormLocation ArgumentNullException #14935

jtkech opened this issue Dec 22, 2023 · 0 comments · Fixed by #14936
Labels

Comments

@jtkech
Copy link
Member

jtkech commented Dec 22, 2023

When saving the settings of an HttpRequestEvent activity, if the new Form Location property is left blank, which is a valid use case, the following ArgumentNullException is logged.

System.ArgumentNullException: Value cannot be null. (Parameter 'o')
at Newtonsoft.Json.Utilities.ValidationUtils.ArgumentNotNull(Object value, String parameterName)
at Newtonsoft.Json.Linq.JToken.FromObjectInternal(Object o, JsonSerializer jsonSerializer)
at Newtonsoft.Json.Linq.JToken.FromObject(Object o)
at OrchardCore.Workflows.Activities.Activity.SetProperty(Object value, String name)
in C:\...\src\OrchardCore\OrchardCore.Workflows.Abstractions\Activities\Activity.cs:line 153
@jtkech jtkech changed the title FormLocation NRE FormLocation ArgumentNullException Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant