View Issue Details

IDProjectCategoryView StatusLast Update
0006969VCOMPONENT-VKERNELCursorspublic2014-11-21 10:16
ReporterFrançois Van Lerberghe Assigned ToIvan Smahin  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformINTELOSMac OSOS Version10.6
Product Version5.6 
Target Version5.7Fixed in Version5.7 
Summary0006969: VCursor.Position property return a wrong value under certain circumstances
DescriptionIf the current position is the last record of a VCursor, VCursor.Position doesn't return the correct position but a number that is VCursor.RecordCount+1
This occur under these conditions :
- V4RB client (not standalone)
- request based on more than one table
- including ORDER BY clause
The parameters set to build the VCursor doesn't seem to matter
(tested with EVCursorLocation.kServerSide, EVLockType.kNoLocks, EVCursorDirection.kRandom)

The current selected record is the last one, but the Position property return a wrong value (+1).
Steps To Reproduce- Open a database on the server using Realbasic/Xojo and V4RB (mode client)
- Request a VCursor based on more than one table and including ORDER BY clause
- Go to the last record (VCursor.LastRecord or VCursor.Position = VCursor.RecordCount or loop with VCursor.NextRecord until the end)
- Read the VCursor.Position
Additional InformationV4RB 5.6 - Realbasic 2010r3.2 - MacOSX 10.6
Tested on MacOS 10.6 and 10.10
French language
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-11-17 20:05 François Van Lerberghe New Issue
2014-11-17 20:24 Ruslan Zasukhin Target Version => 5.7
2014-11-17 20:24 Ruslan Zasukhin Assigned To => Ivan Smahin
2014-11-17 20:24 Ruslan Zasukhin Status new => assigned
2014-11-21 10:16 Ivan Smahin Status assigned => resolved
2014-11-21 10:16 Ivan Smahin Fixed in Version => 5.7
2014-11-21 10:16 Ivan Smahin Resolution open => fixed