[Geoserver-devel] [JIRA] (GEOS-7444) Updating a coverage using REST API fails if JSON (or XML) payload doesn't follow a specific order

Cesar Martinez created an issue

GeoServer / BugGEOS-7444

Updating a coverage using REST API fails if JSON (or XML) payload doesn’t follow a specific order

Issue Type:

BugBug

Affects Versions:

2.9-beta, 2.8.2, 2.7.6

Assignee:

Unassigned

Components:

Main

Created:

03/Mar/16 3:19 PM

Environment:

java version “1.8.0_74”
Java™ SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot™ 64-Bit Server VM (build 25.74-b02, mixed mode)

Priority:

MediumMedium

Reporter:

Cesar Martinez

Updating a coverage using REST API fails if JSON (or XML) payload doesn’t follow a specific order. This is a problem as JSON objects don’t follow a specific order by definition.

The problem is caused by XStreamPersister.java, which is assuming a specific order for GridGeometry2D unmarshalling.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.2.0-OD-03-010#72000-sha1:d4f0e55)

Atlassian logo