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

Invalid query parameters throw exceptions rather than ignoring and logging a warning

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Connection String
    • None
    • Java Drivers

      The connection string specification requires that drivers log malformed query parameters but otherwise ignore them.  The Java driver violates that specification in several places, e.g by throwing IllegalArgumentException in several situations, e.g.

      • Malformed integers
      • Malformed auth mechanism properties
      • Malformed read preference tags

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: