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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.5
    • 1.6.5
    • None
    • None
    • Linux, mongo 1.6.5
    • Minor Change
    • ALL

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: