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

Java docs apiref link leads to wrong url -> 404 page

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Documentation
    • None

      Description

      Not certain whether other API links are broken at the moment, but I noticed that at least one link generated with "apiref" is leading to a 404 page because it redirects to "mongodb-driver-core" as part of the expansion rather than "mongodb-driver-sync".

      E.g.

      On http://mongodb.github.io/mongo-java-driver/4.0/driver/tutorials/authentication/ 

      the "MongoClient" API docs link goes to:

      http://mongodb.github.io/mongo-java-driver/4.0/apidocs/mongodb-driver-core/com/mongodb/MongoClient.html

      While the actual documentation is located at:

      https://mongodb.github.io/mongo-java-driver/4.0/apidocs/mongodb-driver-sync/com/mongodb/client/MongoClient.html

       

      I checked another instance of apiref in the docs, and it correctly expanded to "mongodb-driver-sync". 

      E.g.

      On http://mongodb.github.io/mongo-java-driver/4.0/driver/tutorials/perform-read-operations/

      the "find()" API docs link correctly goes to 

      http://mongodb.github.io/mongo-java-driver/4.0/apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html#find()

       

      jeff.yemin have you seen this and do you know how to resolve it?

       

       

       

       

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            chris.cho@mongodb.com Christopher Cho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: