Opened 14 years ago

Closed 13 years ago

#3467 closed defect (fixed)

resultsGetShape's tileindex argument is not optional in MS 5.6.3

Reported by: cjauvin Owned by: aboudreault
Priority: normal Milestone: 5.6.3 release
Component: MapScript Version: 5.6
Severity: normal Keywords:
Cc: dmorissette, sdlime, nhermann, pramsey, jimk

Description

With both the PHP and Python versions of MapScript 5.6.3, calling resultsGetShape on a queried PostGIS-connected layer hangs the server:

if pg_layer.queryByPoint(...) == MS_SUCCESS:
   res = pg_layer.getResult(0)
   shp = shapeObj(MS_SHAPE_NULL)
   pg_layer.resultsGetShape(shp, res.shapeindex) # hangs MS 5.6.3
   pg_layer.resultsGetShape(shp, res.shapeindex, res.tileindex) # ok!

Change History (5)

comment:1 by dmorissette, 14 years ago

Cc: dmorissette sdlime added

comment:2 by nhermann, 14 years ago

Cc: nhermann added

comment:3 by aboudreault, 14 years ago

Cc: pramsey jimk added

adding paul and jim in CC to discuss about this. Steve, as discussed out list, should we check to remove the resultsGetShape in 6.0 ?

comment:4 by sdlime, 14 years ago

I'm working in a sandbox on some significant enhancements in this area that I hope to write up in an RFC soon. That will include thoughts on this ticket...

Steve

comment:5 by aboudreault, 13 years ago

Resolution: fixed
Status: newclosed

This has been updated in the RFC 65: http://mapserver.org/development/rfc/ms-rfc-65.html and will be in 6.0.

Note: See TracTickets for help on using tickets.