Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1954

Validation issues when using localized fields

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

      I updated the Mongoid version to use the 2.4.0-stable, after the fix of the issue MONGOID-1939 and I found another possible issues:

      • The uniqueness validation is ignored when used with localized fields.
      • I'm not sure if it is an issue... When validating the presence of a localized field, it is not returning the message I declared in my localization file (e.g.: I have a localized field called name and default language of my app is "en". It is always returning the following message for presence validation "Name can't be blank in en)". It should not return the message from my en.yml?

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

              Created:
              Updated:
              Resolved: