Opened 4 weeks ago

Last modified 2 weeks ago

#2833 closed defect

FIX - WCS DescribeCoverage cannot return result when metadata has json in local metadata file — at Initial Version

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.4
Component: petascope Version: 10.4
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

for example:

 ERROR [2024-10-25 15:06:57] AbstractController@1041: Failed processing request: req-56 with user rasadmin, evaluation time 4 ms. Reason: Cannot serialize coverage's metadata to XML element. Reason: Cannot parse XML fragment '<?xml version="1.0" encoding="UTF-8"?><rootDummy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ras="http://www.rasdaman.org"><ras:covMetadata xmlns:ras="http://www.rasdaman.org"><slices><slice><boundedBy><Envelope><axisLabels>GBIF_taxon_key E N</axisLabels><srsDimension>3</srsDimension><lowerCorner>11418114 260085.0 4488705.0</lowerCorner><upperCorner>11418114 527625.0 4748055.0</upperCorner></Envelope></boundedBy><AD4GD>
{"key":"0022919-240906103802322","doi":"10.15468/dl.p7wtpv","license":"http://creativecommons.org/publicdomain/zero/1.0/legalcode","request":{"sql":"SELECT PRINTF('%04d-%02d', \"year\", \"month\") AS yearMonth, decimalLatitude AS lat, decimalLongitude AS lon, family, familyKey, genus, genusKey, species, speciesKey, iucnRedListCategory, basisOfRecord FROM occurrence WHERE iucnRedListCategory IN ('NT','VU','EN','CR','EW','EX','LC') AND occurrenceStatus = 'PRESENT' AND countryCode = 'ES' AND \"year\" >= 1980 AND classKey = 11418114 AND hasCoordinate = TRUE AND (coordinateUncertaintyInMeters <= 1000 OR coordinateUncertaintyInMeters IS NULL) AND speciesKey IS NOT NULL AND NOT ARRAY_CONTAINS(issue, 'ZERO_COORDINATE') AND NOT ARRAY_CONTAINS(issue, 'COORDINATE_OUT_OF_RANGE') AND NOT ARRAY_CONTAINS(issue, 'COORDINATE_INVALID') AND NOT ARRAY_CONTAINS(issue, 'COUNTRY_COORDINATE_MISMATCH') AND \"month\" IS NOT NULL AND basisOfRecord IN ('HUMAN_OBSERVATION','MACHINE_OBSERVATION','MATERIAL_CITATION','OBSERVATION','OCCURRENCE') GROUP BY yearMonth, lat, lon, familyKey, family, genusKey, genus, speciesKey, species, iucnRedListCategory, basisOfRecord","sendNotification":true,"type":"OCCURRENCE","format":"SQL_TSV_ZIP"},"created":"2024-09-19T11:40:31.609+00:00","modified":"2024-09-19T12:08:05.179+00:00","eraseAfter":"2025-03-19T11:40:31.547+00:00","status":"SUCCEEDED","downloadLink":"https://api.gbif.org/v1/occurrence/download/request/0022919-240906103802322.zip","size":423789,"totalRecords":10728,"numberDatasets":30}
</AD4GD><fileReferenceHistory>/tmp/key_11418114_0022919-240906103802322.tif</fileReferenceHistory></slice></slices></ras:covMetadata></rootDummy>'. Reason: The content of elements must consist of well-formed character data or markup.


Change History (0)

Note: See TracTickets for help on using tickets.