Hi Maxim,

are you using multipart requests? If not, there shouldn't be any change in serializing the input fields.

I've tried Ajax and non-Ajax requests but cannot reproduce the problem.
Are you entering "[null] into a field, without quotes but *with* square brackets?

Sven


Am 05.02.2018 um 03:28 schrieb Maxim Solodovnik:
Hello Sven,

The issue is caused by this [1] commit
the form is now being serialized differently

Previously FormComponent.getInputAsArray method got (Object)null as input
Right now it is [null] as List<StringValue> ....

[1]
https://github.com/apache/wicket/commit/f642f4ad4266319731b200e517eadf53fef5a56b

On Mon, Feb 5, 2018 at 12:02 AM, Sven Meier <s...@meiers.net> wrote:

Hi,

Investigation shows "[null]" string is being converted to ["null"] (new
String[]{"null"}) by FormComponent.getInputAsArray method

"null" does not seem right. Can you pin down this problem to a recent
commit in Wicket? I don't remember any change in FormComponent related to
this.

Regards
Sven



Am 04.02.2018 um 17:09 schrieb Maxim Solodovnik:

Hello All,

'master' branch of our main application is based on 8.0.0-SNAPSHOT
Tonight we have error report: our latest build fails without changes in
our
code

Investigation shows "[null]" string is being converted to ["null"] (new
String[]{"null"}) by FormComponent.getInputAsArray method

I see no tests for this method, and I believe "[null]" input should be
converted to [null] (new String[]{null})

Shall I fix it in Wicket code on in our code?






Reply via email to