Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2237

Broken MongoDB documentation links in API docs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.0
    • Affects Version/s: None
    • Component/s: Documentation
    • None

      There are some API docs that use "reference/commands" instead of "reference/command" in MongoDB documentation URLs:

      driver/src/main/com/mongodb/client/MongoCollection.java:597:     * @mongodb.driver.manual reference/commands/renameCollection Rename collection
      driver/src/main/com/mongodb/client/MongoCollection.java:608:     * @mongodb.driver.manual reference/commands/renameCollection Rename collection
      driver/src/main/com/mongodb/client/MongoDatabase.java:170:     * @mongodb.driver.manual reference/commands/dropDatabase/#dbcmd.dropDatabase Drop database
      driver/src/main/com/mongodb/client/MongoDatabase.java:203:     * @mongodb.driver.manual reference/commands/create Create Command
      driver/src/main/com/mongodb/client/MongoDatabase.java:212:     * @mongodb.driver.manual reference/commands/create Create Command
      driver/src/main/com/mongodb/MongoClient.java:310:     * @mongodb.driver.manual reference/commands/listDatabases List Databases
      driver-async/src/main/com/mongodb/async/client/MongoClient.java:61:     * @mongodb.driver.manual reference/commands/listDatabases List Databases
      driver-async/src/main/com/mongodb/async/client/MongoCollection.java:608:     * @mongodb.driver.manual reference/commands/renameCollection Rename collection
      driver-async/src/main/com/mongodb/async/client/MongoCollection.java:620:     * @mongodb.driver.manual reference/commands/renameCollection Rename collection
      driver-async/src/main/com/mongodb/async/client/MongoDatabase.java:173:     * @mongodb.driver.manual reference/commands/dropDatabase/#dbcmd.dropDatabase Drop database
      driver-async/src/main/com/mongodb/async/client/MongoDatabase.java:207:     * @mongodb.driver.manual reference/commands/create Create Command
      driver-async/src/main/com/mongodb/async/client/MongoDatabase.java:217:     * @mongodb.driver.manual reference/commands/create Create Command
      

      An example broken link is the "Rename collection" link at the bottom of http://api.mongodb.com/java/3.2/com/mongodb/async/client/MongoCollection.html#renameCollection-com.mongodb.MongoNamespace-com.mongodb.async.SingleResultCallback-

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: