View Issue Details

IDProjectCategoryView StatusLast Update
0004063JEDI VCL00 JVCL Componentspublic2007-03-02 15:41
ReporterConnectedTextAssigned Tojfudickar 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.30 
Target VersionFixed in Version 
Summary0004063: TJvAppStorage fails when saving a stringlist
DescriptionAdd an TJvAppStorage and attach to it any kind of substorage. Create a string list and try to save it using TJvAppStorage. An exception is thrown stating that the path is invalid. The problem lies in

  TJvCustomAppStorage.WriteStringListItem

It is not resolving which substorage to use. Instead of

if List is TStrings then
  Sender.WriteStringInt(ConcatPaths([Path, ItemName + IntToStr(Index)]),TStrings(List)[Index]);

should be

if List is TStrings then
  Sender.WriteString(ConcatPaths([Path, ItemName + IntToStr(Index)]),
TStrings(List)[Index]);
TagsNo tags attached.

Activities

2007-02-13 09:37

 

Project.zip (1,762 bytes)

ConnectedText

2007-02-13 09:38

reporter   ~0010807

The attached project reproduces the problem.

jfudickar

2007-03-02 15:34

developer   ~0011268

Fixed in SVN

Issue History

Date Modified Username Field Change
2007-02-13 03:11 ConnectedText New Issue
2007-02-13 09:37 ConnectedText File Added: Project.zip
2007-02-13 09:38 ConnectedText Note Added: 0010807
2007-03-02 15:31 jfudickar Status new => assigned
2007-03-02 15:31 jfudickar Assigned To => jfudickar
2007-03-02 15:34 jfudickar Note Added: 0011268
2007-03-02 15:41 jfudickar Status assigned => resolved
2007-03-02 15:41 jfudickar Resolution open => fixed