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

Improve exception handling for Controls with no name defined

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: core
    • Labels:
      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.

        Activity

        Hide
        sabob Bob Schellink added a comment -

        fixed for 1.5.1

        Show
        sabob Bob Schellink added a comment - fixed for 1.5.1

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development