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

Some Command don't support Chinese

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Mongo 2.0.1
    • Fully Compatible
    • ALL

      When I want to insert a document to a collection witch the collectionName is Chineses characters ,there is a exception happened,

      The collectionName is 中国,when I insert a document to this collection,the exception happened..

      { "err" : "invalid ns: mongodb.中国", "code" : 10094, "n" : 0, "connectionId" : 15, "ok" : 1.0 }

      at
      MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage
      message, SafeMode safeMode)
      at MongoDB.Driver.MongoCollection.InsertBatch(Type nominalType,
      IEnumerable documents, MongoInsertOptions options)
      at MongoDB.Driver.MongoCollection.Insert(Type nominalType, Object
      document, MongoInsertOptions options)
      at MongoDB.Driver.MongoCollection.Insert(Type nominalType, Object
      document, SafeMode safeMode)
      at MongoDB.Driver.MongoCollection.Insert[TNominalType](TNominalType
      document, SafeMode safeMode)
      at
      MagicMongoDBTool.Module.MongoDBHelper.InsertEmptyDocument(MongoCollection
      mongoCol, Boolean safeMode) in C:\Work Shop\MagicMongoDBTool
      \MagicMongoDBTool\Module\MongoDBHelper_Opration.cs:line 344
      at
      MagicMongoDBTool.frmMain.AddDocumentToolStripMenuItem_Click(Object
      sender, EventArgs e) in C:\Work Shop\MagicMongoDBTool\MagicMongoDBTool
      \Form\frmMain.cs:line 1505

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            magicdict ???
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: