Opened 6 years ago

Closed 6 years ago

#1884 closed defect (fixed)

metadata reading error on old coverages

Reported by: Vlad Merticariu Owned by: Bang Pham Huu
Priority: major Milestone: 9.7
Component: petascope Version: development
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

http://ows.rasdaman.org/rasdaman/ows?&SERVICE=WCS&VERSION=2.0.1&REQUEST=DescribeCoverage&COVERAGEID=meris_lai

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0.1" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="WcpsError">
<ows:ExceptionText>
Cannot deserialize coverage's metadata in XML/JSON by Jackson, error: Unrecognized token 'myNewMetadata': was expecting ('true', 'false' or 'null') at [Source: myNewMetadata; line: 1, column: 27].
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Change History (3)

comment:1 by Bang Pham Huu, 6 years ago

Cc: Dimitar Misev added
Milestone: 9.7

comment:2 by Bang Pham Huu, 6 years ago

The problem with this coverage is its metadata is just a string "myNewMetadata" and it sees it as a JSON, instead this one should be wrapped by <metadata></metadata> element, then Jackson can deserializse it.

comment:3 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.