[fdo-trac] #773: SDF FdoIScrollableFeatureReader ReadAt() throws exception on record not found

FDO trac_fdo at osgeo.org
Fri Aug 26 12:50:37 EDT 2011


#773: SDF FdoIScrollableFeatureReader ReadAt() throws exception on record not
found
----------------------------+-----------------------------------------------
   Reporter:  jng           |       Owner:  gregboone
       Type:  defect        |      Status:  new      
   Priority:  major         |   Milestone:  3.7.0    
  Component:  SDF Provider  |     Version:           
   Severity:  3             |    Keywords:           
External_id:                |  
----------------------------+-----------------------------------------------
 Create a connection to this SDF file:

 http://trac.osgeo.org/mapguide/browser/trunk/MgDev/UnitTest/TestData/FeatureService/SDF/Sheboygan_VotingDistricts.sdf

 Run an FdoIExtendedSelect query against this SDF connection returning a
 FdoIScrollableFeatureReader

 Now call ReadAt() on the reader passing in an out-of-range key value (eg.
 FeatId = 123)

 The reader throws an exception.

 When according to (my interpretation) of this API, ReadAt() should be
 returning false on such a key value. Is this not the expected behaviour of
 this API?

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/773>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list