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

Some Command don't support Chinese

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.3.2
    • None
    • None
    • Mongo 2.0.1
    • Fully Compatible
    • ALL

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: