Opened 16 years ago

Closed 16 years ago

#2474 closed defect (fixed)

msSetError is called with MS_WMSERR as parameter instead of MS_WCSERR in mapwcs.c

Reported by: nsavard Owned by: tomkralidis
Priority: normal Milestone: 5.2 release
Component: WCS Server Version: 5.0
Severity: normal Keywords:
Cc: sdlime

Description

MS_WMSERR parameter is used instead of MS_WCSERR in mapwcs.c at the following lines: 335, 1072, 1512 and 1546.

Change History (2)

comment:1 by tomkralidis, 16 years ago

Cc: sdlime added; tomkradilis removed
Owner: changed from sdlime to tomkralidis

Here's what I get against trunk:

[devgeo:/home/tkralidi/foss4g/mapserver/trunk/mapserver]$ grep -n WMSERR mapwcs.c 
304:           msSetError(MS_WMSERR, "Wrong number of arguments for BBOX.", "msWCSParseRequest()");
340:           msSetError(MS_WMSERR, "Wrong number of arguments for BOUNDINGBOX.", "msWCSParseRequest()");
357:           msSetError(MS_WMSERR, "Wrong number of arguments for GridOffsets", 
1169:      msSetError(MS_WMSERR, "Unsupported SRS namespace (only EPSG currently supported).", "msWCSGetCoverage()");
1667:    msSetError( MS_WMSERR, "RASTER Layer with no DATA statement and no WCS virtual dataset metadata.  Tileindexed raster layers not supported for WCS without virtual dataset metadata (cm->extent, wcs_res, wcs_size).", "msWCSGetCoverageDomain()" );
1701:      msSetError( MS_WMSERR, "Raster file %s has no raster bands.  This cannot be used in a layer.", "msWCSGetCoverageMetadata()", layer->data );

I'll fix this one right now.

P.S. Norm, my userid is tomkralidis, not tomkradilis :)

comment:2 by tomkralidis, 16 years ago

Resolution: fixed
Status: newclosed

Done in r7288

Note: See TracTickets for help on using tickets.