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

Warn instead of throw for invalid query parameter values in connection string

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Configuration
    • None
    • Hide

      The connection string spec states:

      Any invalid Values for a given key MUST be ignored and MUST log a WARN level message.

      The Java driver throws instead for many of these cases. The connection string implementation should comply with the specification, and start running the URI options spec tests that specify warning: true. They are currently skipped because many of them throw exceptions.

      Show
      The connection string spec states: Any invalid Values for a given key MUST be ignored and MUST log a WARN level message. The Java driver throws instead for many of these cases. The connection string implementation should comply with the specification, and start running the URI options spec tests that specify warning: true . They are currently skipped because many of them throw exceptions.

      Also, enable spec tests for this that are currently skipped

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

              Created:
              Updated: