#1183 closed defect (fixed)

error request should return content instead of empty in system test

Reported by: bphamhuu Owned by: dmisev
Priority: minor Milestone: Future
Component: systemtest Version: development
Keywords: empty file in out file system test Cc: dmisev
Complexity: Medium

Description

current using wget will return empty file when request is not valid and this is not useful to know what happened. Then the error must also save to file .out and update error case in oracle directory also.

example: instead of return the content page as below, it only returns 0.

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0.0" xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InterpolationMethodNotSupported">
<ows:ExceptionText>
`interpolation' parameter indicated is not supported by this server (i.e., URL is not known to this server).
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Change History (4)

comment:1 Changed 14 months ago by dmisev

Have a look at #529 Bang, this seems like some regression now.

comment:2 Changed 14 months ago by dmisev

  • Milestone changed from 9.2 to Future
  • Owner changed from bphamhuu to dmisev
  • Priority changed from major to minor
  • Status changed from new to assigned

Also please put this on very low priority for now, as the systemtest is being reimplemented in python at the moment.

comment:3 Changed 14 months ago by bphamhuu

Thanks for information, but what is the python implementation as I don't know about it. By the way, I have finished this ticket today so don't need to wait.

comment:4 Changed 13 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from assigned to closed

the patch was accepted, then close ticket, thanks.

Note: See TracTickets for help on using tickets.