Fix for custom message not being used with uniqueness validator.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 2.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The uniqueness validator fails to pass options when adding errors to the document. I merely mimicked what the ActiveRecord uniqueness validator passes when adding errors so that the message and value options get passed. I also added a unit test to verify the behavior.

            Assignee:
            Unassigned
            Reporter:
            Justin Etheredge
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: