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

Detect wrong array type in RequestImpl.convertJSON() #99

Merged
merged 1 commit into from
Jan 18, 2017

Conversation

jbq
Copy link

@jbq jbq commented Jan 9, 2017

When the same parameter name is used several times in a form, it is
submitted as an array to Stapler, which in turn expects to find a list
type in the data model. If this is not the case, report a meaningful
error message instead of a cryptic NPE.

When the same parameter name is used several times in a form, it is
submitted as an array to Stapler, which in turn expects to find a list
type in the data model.  If this is not the case, report a meaningful
error message instead of a cryptic NPE.
@jglick jglick merged commit 331ca7d into jenkinsci:master Jan 18, 2017
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