Opened 8 years ago

Closed 8 years ago

#1183 closed defect (fixed)

error request should return content instead of empty in system test

Reported by: Bang Pham Huu Owned by: Dimitar Misev
Priority: minor Milestone: Future
Component: systemtest Version: development
Keywords: empty file in out file system test Cc: Dimitar Misev
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 by Dimitar Misev, 8 years ago

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

comment:2 by Dimitar Misev, 8 years ago

Milestone: 9.2Future
Owner: changed from Bang Pham Huu to Dimitar Misev
Priority: majorminor
Status: newassigned

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

comment:3 by Bang Pham Huu, 8 years ago

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 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: assignedclosed

the patch was accepted, then close ticket, thanks.

Note: See TracTickets for help on using tickets.