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

getConvertedInput() returns null and selectedValues.addAll tries adding it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.7
    • 1.4.9, 1.5-M1
    • wicket
    • None

    Description

      Came across this bug when upgrading from wicket 1.3 to 1.4.7. It occurred when we were clearing a form.

      Add a null check to
      selectedValues.addAll(getConvertedInput());
      in ListMultipChoice:updateModel(),
      because getConvertedInput() can conceivably be null in normal situations.

      Attachments

        1. ListMultipleChoice.java
          13 kB
          Nathan Collette

        Activity

          People

            ivaynberg Igor Vaynberg
            ncollette Nathan Collette
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: