Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27761

view can be created on top of a view with different collation than underlying view

    • Fully Compatible
    • ALL
    • v3.4
    • Hide
      db.createView("view2", "view1", [], {collation:{locale:"fr"}})
      { "ok" : 1 }
      db.createView("view3", "view1", [], {collation:{locale:"en"}})
      { "ok" : 1 }
      db.createView("view1", "names", [], {collation:{locale:"ja"}})
      { "ok" : 1 }
      
      Show
      db.createView("view2", "view1", [], {collation:{locale:"fr"}}) { "ok" : 1 } db.createView("view3", "view1", [], {collation:{locale:"en"}}) { "ok" : 1 } db.createView("view1", "names", [], {collation:{locale:"ja"}}) { "ok" : 1 }
    • Query 2017-03-27, Query 2017-04-17

      If you create a view with collation on non-existent view and then create that underlying view with different collation, it seems to be allowed which violates "no overriding collation by view on top of another view".

            Assignee:
            kyle.suarez@mongodb.com Kyle Suarez
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: