Grails

Constraints email:true, nullable: true, blank: true report error for blank/null values

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.0.2
  • Component/s: None
  • Labels:
    None

Description

Email constraint still seems too aggressive / has regressed from previous behaviour - I thought we solved this long ago.

Email constraint should never cause a failure if nullable/blank are enabled (for null/blanks as appropriate).

In the email constraint, if the value is null or blank it should just be ignored and nullable/blank left to deal with those failures, otherwise functionality is being duplicated and causes this problem.

Activity

Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: