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

[jira] [Resolved] (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:all-tabpanel ]

Sven Meier resolved WICKET-6450.
--------------------------------
    Resolution: Duplicate
      Assignee: Sven Meier

Indeed.

> 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
>            Assignee: Sven Meier
>         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)