Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-662

ErrorMap parsing fails for unknown enum values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.0-alpha.3, 1.7.5
    • None
    • None
    • None
    • 1

    Description

      KeyValueErrorMaphandler in 1.x and ErrorMapLoadingHandler in 2.x will fail to parse the error map if it contains unrecognized enum values.

      Solution is to parse with Jackson feature:

      DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL

      and ignore null values.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty