Grails
  1. Grails
  2. GRAILS-7656

G:select NPE when no name attribute

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.7
    • Fix Version/s: 2.0-M1
    • Component/s: TagLib
    • Labels:

      Description

      If you forget the name attribute when using the g:select tag you get a NullPointerException that doesn't indicate the problem. It would be helpful to throw a more meaningful exception (MissingArgument ?) with a message like "The name attribute is required.

        Activity

        Hide
        Burt Beckwith added a comment -

        Already fixed for 1.4

        Show
        Burt Beckwith added a comment - Already fixed for 1.4

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            Peter McNeil
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development