Bug 111223 - Cursor.get can return old values
Summary: Cursor.get can return old values
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: persistence
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Archit Shah
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 106481
TreeView+ depends on / blocked
 
Reported: 2003-11-30 19:59 UTC by Rafael H. Schloming
Modified: 2014-12-01 23:13 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-01-26 22:39:10 UTC
Embargoed:


Attachments (Terms of Use)

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
session.


Note You need to log in before you can comment on or make changes to this bug.