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

Form processing throws NPE if button.onsubmit() moves the button or its parents out of the component hierarchy

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.3
    • Component/s: wicket
    • Labels:
      None

      Description

      if button.onsubmit() takes the button out of hierarchy form processing breaks. the reason is that after onsubmit() of the button is ran wicket will call button.getform() which returns null because the button is out of the component hierarchy

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              ivaynberg Igor Vaynberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: