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

TextField constructor passes wrong argument to super class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Hi,

      The following constructor exists for TextField.

      public TextField(String name, String label, boolean required)

      { super(label, label); setRequired(required); }

      The call to super should be :

      super(name,label);

      Kind regards,

      bob

        Activity

        Hide
        sabob Bob Schellink added a comment -

        Forgot to mention, the bug exists in click 0.17

        Show
        sabob Bob Schellink added a comment - Forgot to mention, the bug exists in click 0.17
        Hide
        medgar Malcolm Edgar added a comment -

        Fixed bug, code inspected other control classes and fixed inconsistent PasswordField constructor:

        public PasswordField(String label)

        { super(label); }
        Show
        medgar Malcolm Edgar added a comment - Fixed bug, code inspected other control classes and fixed inconsistent PasswordField constructor: public PasswordField(String label) { super(label); }

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development