Opened 4 months ago

Closed 4 months ago

#1527 closed defect (fixed)

DeleteCoverage returns wrong exception

Reported by: dmisev Owned by: bphamhuu
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 Changed 4 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.