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
<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 , 6 years ago
Cc: | added |
---|---|
Milestone: | → 9.7 |
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.