Bug 111223

Summary: Cursor.get can return old values
Product: [Retired] Red Hat Web Application Framework Reporter: Rafael H. Schloming <rafaels>
Component: persistenceAssignee: Archit Shah <archit.shah>
Status: CLOSED RAWHIDE QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: nightlyCC: tross
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-26 22:39:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 106481    

Description Rafael H. Schloming 2003-11-30 19:59:48 UTC
Perforce change 38342 causes Cursor.get to bypass Session.get under
all circumstances and therefore not pay attention to unflushed
changes. This can cause Cursor.get to under certain (currently very
rare) circumstances return the value of a property that is in the
database rather than the correct value. This can be fixed by making
the predicate of the if inside Cursor.getInternal more selective and
only check if m_values contains a key for 0..n paths. I'm creating
this ticket so I don't forget to fix this before the final release.

Comment 1 Archit Shah 2004-01-26 18:04:56 UTC
fixed (@39653). The fix differs from the suggested one. Instead,
RecordSet#load does not return data to Cursor that is loaded into the