Opened 8 years ago

Closed 8 years ago

#1527 closed defect (fixed)

DeleteCoverage returns wrong exception

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

Description

If disable_write_operations is true in petascope.properties and I try deleting a coverage, I get an exception like this:

<ows:ExceptionReport 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="NoApplicableCode">
<ows:ExceptionText>No suitable parser found.</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

It should rather be something like "Operation not allowed."

Change History (1)

comment:1 by Bang Pham Huu, 8 years ago

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