To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=55731


User fs changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|fs                        |oj
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Dec  8 03:54:47 -0800 
2005 -------
fs->oj: the problem here is that the RowSet's position is somehow inconsisten
after a record has been deleted.
The form controller calles deleteRow, and subsequently a relative( -1 ). This is
expected to position the row set immediately before the record which has just
been deleted. Instead, it's positioned two records before it.
For example. if you delete record 3 (of a 3-record form), then afterwards, the
row set / form is at position 1, while it should be at 2.

This is because the m_nPosition of the RowSetCache is wrong after deleting a row
- it already is "2", so that the subsequent relative(-1) moves to "1".
Note that the m_nPosition of the RowSet is still correct: it's "3", so a
"getRow" delivers the correct position "3", and "rowDeleted" returns "true",
which is all correct. It's just the cache which got slightly confused by the
deletion.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to