Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#963 closed defect (fixed)

[MapServer-wms]No error is returned when the "time" parameter is empty and the "wms_timedefault" is empty

Reported by: nsavard@… Owned by: assefa
Priority: high Milestone:
Component: WMS Server Version: 4.3
Severity: normal Keywords: VERIFIED
Cc:

Description

When a GetMap request is issued with a time parameter NOT set and the
"wms_timedefault" paramater NOT set in the map file WMS server, no error is
returned.  All data is returned instead.  The purpose of this bug is to validate
that we are expecting this kind of behaviour.  If so we should document this
behaviour.

Found on Fedora Core 2

Example of a request:

http://servercgi-bin/mapserv_43?map=/path/to/time_test/htdocs/wms_time.map&
request=GetMap&Version=1.1.1&LAYERS=time&Time=

Associated map file metadata:

  METADATA
    "DESCRIPTION" "time"
    "wms_title" "time"
    "wms_timeitem"  "TIME"
    "wms_timeextent"  "2004-01-01/2004-02-01"   
 END

Change History (3)

comment:1 by assefa, 20 years ago

Checking this ... The specs indocates (section c5.1) that a sercice exception 
with (code="MissingDimensionValue") should be returned.

comment:2 by assefa, 20 years ago

Resolution: fixed
Status: newclosed
It now returns an exception (mapwms.c revison 1.119):


<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport 
SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException code="MissingDimensionValue">
msWMSApplyTime: WMS server error. No Time value was given, and no default time 
value defined.
</ServiceException>
</ServiceExceptionReport>



comment:3 by nsavard@…, 20 years ago

Keywords: VERIFIED added
Verified on Fedora Core 2.
Note: See TracTickets for help on using tickets.