Bug 1401 : Resolving unrecognized field "syntax" error in OperationResult 36/9236/1
authorMadhu Venugopal <mavenugo@gmail.com>
Tue, 22 Jul 2014 14:02:40 +0000 (07:02 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Tue, 22 Jul 2014 14:08:37 +0000 (07:08 -0700)
commit551f053cc7d1fddf6d88a50cc236bd2a6b18c9e8
tree7a454863ec26991337f1fd7d1c9bba35c59951ee
parentbcdf692e8c2af28dcae2859e2d4b2b2a435fce57
Bug 1401 : Resolving unrecognized field "syntax" error in OperationResult

As per RFC 7047, the error field is defined only the the "error" and "details" elements.
But it can also contain other elements that is not described by the RFC.

      "An <error> MAY also have other members that describe the error in more detail.
      This document does not specify the names or values of these members."

The ovsdb-server implementation may choose to add more fields to give more information
to the error.

Since, these fields are not defined in the RFC, we should not fail the JSON parsing
if we encounter unknown fields.

Change-Id: I95c2e5ada6d8b97ff6dfe4f4ed9534ba143e822f
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
library/src/main/java/org/opendaylight/ovsdb/lib/impl/FutureTransformUtils.java
library/src/main/java/org/opendaylight/ovsdb/lib/operations/OperationResult.java