You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Kamil (JIRA)" <ji...@apache.org> on 2017/08/31 10:13:00 UTC

[jira] [Commented] (WICKET-6450) FormComponent should not always create ArrayList when field is null

    [ https://issues.apache.org/jira/browse/WICKET-6450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16148785#comment-16148785 ] 

Kamil commented on WICKET-6450:
-------------------------------

So this Issue could be a duplicate of https://issues.apache.org/jira/browse/WICKET-6451 now

> FormComponent should not always create ArrayList when field is null
> -------------------------------------------------------------------
>
>                 Key: WICKET-6450
>                 URL: https://issues.apache.org/jira/browse/WICKET-6450
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M6
>            Reporter: Kamil
>         Attachments: showcase-notCreateArrayList.zip
>
>
> Sometimes we want to use Set as a backing object but FormComponent#L1600 always creates new ArrayList.
> 1)Run the app
> 2)Click submit
> 3)See what happens.
> 4)Everything works when User#L13 is uncommented



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)