Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004605 [JEDI VCL] 00 JVCL Components minor always 2008-11-26 07:39 2008-11-26 08:50
Reporter cguser View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version 3.33
Summary 0004605: JvDBGrid [ and JvDBUltimGrid?] cannot be created in Korean. Access violation occurs
Description Duplicate of 0003026. Seems that the issue had been properly identified but the fix was incomplete: FChangeLinks must indeed be created *before* setting Options.

The following works (only changed the order of the lines)

constructor TJvDBGrid.Create(AOwner: TComponent);
  FChangeLinks := TObjectList.Create(False); // BEFORE setting Options below
  inherited Options := inherited Options - [dgAlwaysShowEditor];

while the latest code from Trunk (revision 11987) still causes an AV:

  inherited Options := inherited Options - [dgAlwaysShowEditor];

  // (obones): issue 3026: need to create FChangeLinks at the beginning
  // so that any change can access the object. It seems that on some
  // foreign systems, the assignment to the Options property triggers
  // NotifyLayoutChange, so it needs the FChangeLinks object
  FChangeLinks := TObjectList.Create(False);

Suggested fix has been tested on XP with Korean system language. See 0003026 for background information.

PS: Didn't check JvDBUltimGrid, but the original poster mentioned it, so it will also probably be affected.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
AHUser (developer)
2008-11-26 08:50


- Issue History
Date Modified Username Field Change
2008-11-26 07:39 cguser New Issue
2008-11-26 08:50 AHUser Note Added: 0015066
2008-11-26 08:50 AHUser Status new => resolved
2008-11-26 08:50 AHUser Fixed in Version => Daily / SVN
2008-11-26 08:50 AHUser Resolution open => fixed
2008-11-26 08:50 AHUser Assigned To => AHUser

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker