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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.7
    • Fix Version/s: 1.4.9, 1.5-M1
    • Component/s: wicket
    • Labels:
      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

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              ncollette Nathan Collette

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment