Uploaded image for project: 'Click'
  1. Click
  2. CLK-473

Improve exception handling for Controls with no name defined

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5.1
    • core
    • None

    Description

      In pre 1.5 releases Click restricted Controls to have names defined.

      1.5 made names optional. However certain controls such as Fields and Link's must have names defined, otherwise they throw NPE during request binding.

      We need to improve the Controls which must have names defined to throw an exception. A good place to check and throw the exception might be in Control#setParent.

      Attachments

        Activity

          People

            sabob Bob Schellink
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: