View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005969 | JEDI VCL | 00 JVCL Components | public | 2012-08-28 16:13 | 2015-09-21 17:47 |
| Reporter | dummzeuch | Assigned To | AHUser | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | Daily / GIT | ||||
| Target Version | Fixed in Version | 3.49 | |||
| Summary | 0005969: Reading a readonly property raises an exception | ||||
| Description | When reading a readonly property from a TJvPropertyStorage, an access violation occurs. This AV does not surface because the reading code is surrounded with a try ... except which swallows it, but it should be avoided nonetheless. I think the problem can be solved by changing the method as follows: procedure TJvPropertyStorage.LoadAnyProperty(PropInfo: PPropInfo); begin try if (PropInfo <> nil) and (PropInfo.SetProc <> nil) then ReadProperty (AppStoragePath, GetItemName(PropInfo.Name), TPersistent(FObject), PropInfo.Name); except { ignore any exception } end; end; (The check PropInfo <> nil is new.) I could have checked in the change myself, but I am not 100% sure whether it is correct, so I'd like somebody else have a look first. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-08-28 16:13 | dummzeuch | New Issue | |
| 2013-01-15 15:23 | obones | Note Added: 0020350 | |
| 2013-01-15 15:23 | obones | Status | new => feedback |
| 2013-05-25 17:49 | AHUser | Note Added: 0020516 | |
| 2013-05-25 17:49 | AHUser | Status | feedback => resolved |
| 2013-05-25 17:49 | AHUser | Fixed in Version | => Daily / SVN |
| 2013-05-25 17:49 | AHUser | Resolution | open => fixed |
| 2013-05-25 17:49 | AHUser | Assigned To | => AHUser |
| 2015-09-21 17:47 | obones | Fixed in Version | Daily / GIT => 3.49 |