You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2020/06/01 15:32:00 UTC

[jira] [Resolved] (WICKET-6796) Report the component path when failing to set a new object to a read only model

     [ https://issues.apache.org/jira/browse/WICKET-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Tzvetanov Grigorov resolved WICKET-6796.
-----------------------------------------------
    Fix Version/s: 8.9.0
                   9.0.0-M6
       Resolution: Fixed

> Report the component path when failing to set a new object to a read only model
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-6796
>                 URL: https://issues.apache.org/jira/browse/WICKET-6796
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 9.0.0-M5, 8.8.0
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Minor
>             Fix For: 9.0.0-M6, 8.9.0
>
>
> From users@ mailing list: https://markmail.org/message/uitlnm4vrpbawkha
> For easier debugging it would be nice if model.setObject(obj) fails with UnsupportedOperationException, i.e. the model is read-only, to print the component path.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)