View Issue Details

IDProjectCategoryView StatusLast Update
0002751JEDI VCL00 JVCL Componentspublic2005-03-14 00:31
ReporterremkobonteAssigned Tojfudickar 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.00 
Summary0002751: Error with TJvCustomAppStorage and tkChar properties
DescriptionFrom the newsgroup:

Hi, JVCL 3.0 March 10 daily build
When trying to save / load properties that are Char types using
WriteProperty / ReadProperty, an error is raised if the
StorageOptions.TypedIntegerAsString is True.
I hope that someone can help,
Cheers,
Andrew
Additional InformationReproduce this by dropping a TEdit and a TButton control on a form and write the code:

procedure TForm1.Button1Click(Sender: TObject);
begin
  with TJvAppXMLFileStorage.Create(nil) do
  try
    FileName := 'temp';
    StorageOptions.TypedIntegerAsString := True;
    WriteProperty('path1', Edit1, 'PasswordChar', False);

    // Exception in TJvCustomAppStorage.WriteEnumerationInt
    // TypeInfo.Kind = tkChar
  finally
    Free;
  end;
end;
TagsNo tags attached.

Relationships

duplicate of 0002740 resolvedjfudickar Problem saving Properties in TJvCustomAppStorage 

Activities

jfudickar

2005-03-13 13:07

developer   ~0006696

Should be fixed. Please check

remkobonte

2005-03-13 14:23

developer   ~0006701

Yup, works AFAICS.

Issue History

Date Modified Username Field Change
2005-03-13 05:12 remkobonte New Issue
2005-03-13 12:46 jfudickar Relationship added duplicate of 0002740
2005-03-13 13:07 jfudickar Status new => assigned
2005-03-13 13:07 jfudickar Assigned To => jfudickar
2005-03-13 13:07 jfudickar Note Added: 0006696
2005-03-13 13:07 jfudickar Status assigned => feedback
2005-03-13 14:23 remkobonte Note Added: 0006701
2005-03-14 00:31 jfudickar Status feedback => resolved
2005-03-14 00:31 jfudickar Fixed in Version => 3.00
2005-03-14 00:31 jfudickar Resolution open => fixed