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

Description

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.

Environment

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

Activity

Show:
Cesar Martinez
March 10, 2016, 3:58 PM

Note that I have submitted a pull request to solve it:
https://github.com/geoserver/geoserver/pull/1525

I can also provide patches/pull requests for 2.8.x / 2.7.x branches.

Andrea Aime
February 15, 2017, 11:47 AM

Mass closing all resolved issues not modified in the last 4 weeks

Assignee

Unassigned

Reporter

Cesar Martinez

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure