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

    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment