Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6796

Report the component path when failing to set a new object to a read only model

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.0.0-M5, 8.8.0
    • 9.0.0, 8.9.0
    • wicket
    • None

    Description

      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.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: