DATAREST-41 Fix bug in JSON reading that wasn't advancing JSON parser past the value of "links" on incoming JSON, causing the entity properties to not be read correctly which prevents the update from succeeding correctly.
This commit is contained in:
@@ -259,6 +259,13 @@ public class RepositoryAwareJacksonModule extends SimpleModule implements Initia
|
||||
continue;
|
||||
}
|
||||
|
||||
if("links".equals(name)) {
|
||||
while((tok = jp.nextToken()) != JsonToken.END_ARRAY) {
|
||||
// Advance past the links
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if(null == attrMeta) {
|
||||
// do nothing
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user