#906 closed defect (wontfix)
SdfIndexedScrollableFeatureReader::ReadNext() return true again after read finish
Reported by: | christinebao | Owned by: | christine bao |
---|---|---|---|
Priority: | major | Milestone: | 4.1.0 |
Component: | FDO API | Version: | 4.0.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: | DE22116 |
Description ¶
Reported by Autodesk QA:
Steps to reproduce:
- load the attached mgp to your map server site
- put the attached rest.conf file to folder ..Autodesk Infrastructure Web Server Extension 2016\www\GeoREST\conf (need to update the server IP to yours and the port number to server matching port)
- in browser, input URL http://[your server ip]:99/rest/data/hotel/.xml?orderfields=FeatId
result: the hotel feature class has only 3 features. but the result of step3 has many times more than 3 records.
Change History (6)
by , 10 years ago
Attachment: | sherrycity_forGeoREST.mgp added |
---|
comment:1 by , 10 years ago
by , 10 years ago
Attachment: | Fix960.patch added |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
There are 3 features in this SDF data source, because order by FeatId
SdfIndexedScrollableFeatureReader
is used.Check
ReadNext
function:m_CurrentIndex
is cursor move forward, once it exceed SDF total featurem_TableSize
ReadNext()
return false, this is correct. However MapGuide will read again by callingReadNext()
, it expects return false, however asm_CurrentIndex = -1;
, next check will start from beginning.Fix it by not set
m_CurrentIndex = -1;
after read finish.