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

Mongo should not allow the creation of empty name database nor collecttion

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.5
    • Affects Version/s: 1.6.5
    • Component/s: None
    • None
    • Environment:
      Linux, mongo 1.6.5
    • Minor Change
    • ALL

      ref to
      http://jira.mongodb.org/browse/PHP-186
      http://jira.mongodb.org/browse/SERVER-2051

      The problem is if you do have a DB or collection with no name mongodump will work just fine HOWEVER
      you will not be able to restore with mongorestort, it will bail-out with 'invalid ns'

      http://groups.google.com/group/mongodb-user/browse_thread/thread/795f2f4993b93c15/1f024e42c07eb1d8?lnk=gst&q=invalid+ns#1f024e42c07eb1d8

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            lsuryo@gmail.com Luc Suryo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: