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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Backport Requested:
      v3.4
    • Steps To Reproduce:
      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 }
    • Sprint:
      Query 2017-03-27, Query 2017-04-17

      Description

      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".

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: