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

Some Command don't support Chinese

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mongo 2.0.1
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: