Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-68

Unique contraint fails when the value is part of an existing value

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • laravel-4.0.0
    • Affects Version/s: None
    • Component/s: Laravel
    • None

      Using Laravel Validation with MongoDB 
      DatabasePresenceVerifier. If the database contains the value "John Doe", the value "John" is inv
       
      Insert { name: "John Doe"} in the database.
      Validate { name: "John" } with contraint { name: "unique" }
       
      Expected : the value is valid.
      Observation : the value is invalid.

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: