View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006118 | JEDI VCL | 00 JVCL Components | public | 2013-04-04 12:47 | 2015-09-14 13:20 |
Reporter | SF | Assigned To | obones | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.47 | ||||
Target Version | Fixed in Version | 3.48 | |||
Summary | 0006118: AutoSort in JvDBUltimGrid (2) | ||||
Description | procedure RestoreGridPosition crash if the previously call to SaveGridPosition was unable to retreive bookmark info. Solution: Check if Assigned(FSavedBookmark) as in: procedure TJvDBUltimGrid.RestoreGridPosition(Mode: TResyncMode = [rmExact, rmCenter]); begin if Assigned(FOnRestoreGridPosition) then begin // if DataLink.DataSet.BookmarkValid(Pointer(FSavedBookmark)) then if (Assigned(FSavedBookmark)) and DataLink.DataSet.BookmarkValid(Pointer(FSavedBookmark)) then GotoBookmarkEx(DataLink.DataSet, Pointer(FSavedBookmark), [rmExact], False); DataLink.ActiveRecord := FSavedRowPos; FOnRestoreGridPosition(Self, Pointer(FSavedBookmark), FSavedRowPos); end else // if DataLink.DataSet.BookmarkValid(Pointer(FSavedBookmark)) then if (Assigned(FSavedBookmark)) and DataLink.DataSet.BookmarkValid(Pointer(FSavedBookmark)) then GotoBookmarkEx(DataLink.DataSet, Pointer(FSavedBookmark), Mode, False); end; | ||||
Tags | No tags attached. | ||||
|
Please try with the latest JVCL version in GIT (or daily zip) and then send us a zipped file containing the sources of an application showing the issue. |
|
Fixed! |
|
Thank you for your feedback |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-04-04 12:47 | SF | New Issue | |
2013-12-13 10:50 | obones | Note Added: 0020721 | |
2013-12-13 10:50 | obones | Status | new => feedback |
2014-01-16 17:24 | SF | Note Added: 0020899 | |
2014-01-29 09:59 | obones | Note Added: 0020904 | |
2014-01-29 09:59 | obones | Status | feedback => resolved |
2014-01-29 09:59 | obones | Fixed in Version | => Daily / GIT |
2014-01-29 09:59 | obones | Resolution | open => fixed |
2014-01-29 09:59 | obones | Assigned To | => obones |
2015-09-14 13:20 | obones | Fixed in Version | Daily / GIT => 3.48 |