Ticket #3878 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

getFeatureInfo fails on Oracle data source with FEATURE_COUNT lower results (record out of range)

Reported by: astrid_emde Owned by: tamas
Priority: normal Milestone: 6.0.1 release
Component: Input - Native Oracle Spatial Support Version: 6.0
Severity: critical Keywords: featureInfo Oracle
Cc: s.senn@…, tamas, jmckenna, dmorissette

Description

We perform a WMS getFeatureInfo Request on an Oracle data source.

  • in the request FEATURE_COUNT=100 is defined (so I expect 100 results at the most)
  • at the position of the featureInfo there are more then 100 objects
  • I would exprect, that MapServer gets 100 results and ignores the rest
  • but instead of the featureInfo result I get an error msOracleSpatialLayerGetShape record out of rang

This is how the request looks like  http://localhost/cgi-bin/mapserv6?map=/data/projekte/wms/umn/wms.map&VERSION=1.1.1&REQUEST=GetFeatureInfo&SERVICE=WMS&LAYERS=flussbuhnen&QUERY_LAYERS=flussbuhnen&WIDTH=625&HEIGHT=400&SRS=EPSG:31467&BBOX=2931821.5625,5248260,4262868.4375,6100130&STYLES=&FORMAT=image/png&INFO_FORMAT=text/html&EXCEPTIONS=application/vnd.ogc.se_xml&X=398&Y=178&FEATURE_COUNT=100

We get the following error:

msSetError( MS_ORACLESPATIALERR, "msOracleSpatialLayerGetShape record out of range","msOracleSpatialLayerGetShape()" );

This looks like the line in the code where the error occurs: see line 2398:  http://trac.osgeo.org/mapserver/browser/trunk/mapserver/maporaclespatial.c#L2398

Change History

Changed 2 years ago by tamas

  • cc tamas added

Changed 2 years ago by jmckenna

  • cc jmckenna added

Changed 2 years ago by dmorissette

  • cc dmorissette added
  • owner changed from aboudreault to tamas

Reassigned. Sounds like Tamas is on it.

Changed 2 years ago by tamas

  • status changed from new to assigned

Fixed in trunk (r11738) and branch-6-0 (r11739) Let me know how it works.

Changed 2 years ago by tiffyS

  • status changed from assigned to closed
  • resolution set to fixed

It works for me.

Note: See TracTickets for help on using tickets.