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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • 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.

    Description

      Also, enable spec tests for this that are currently skipped

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: