Grails
  1. Grails
  2. GRAILS-9027

Can't use injected bean in command object validation

    Details

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

      Description

      When command objects are processed in 1.3.8 the order of events is:

      1. Create the object
      2. Perform data binding
      3. Perform validation
      4. Perform dependency injection

      That prevents injected beans from being used in a validator. We should change this to:

      1. Create the object
      2. Perform data binding
      3. Perform dependency injection
      4. Perform validation

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jeff Scott Brown
            Reporter:
            Jeff Scott Brown
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development