View Issue Details

IDProjectCategoryView StatusLast Update
0003882JEDI VCL00 JVCL Componentspublic2006-09-12 01:53
ReporterZENsanAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.20 
Target VersionFixed in Version 
Summary0003882: JvFormStorage "String" StoredValue with JvAppINIStorage
DescriptionStorage doesn't saves correctly strings containing characters like 0000013 and 0000010. If String contains 0000013#10 then ini file is broken in this place.
Additional InformationExample part of INI file:

ComboDefSupplierTemplate_Text=
Templates=New template
C:\Documents and Settings\..\_mail.htm
New template2
C:\Documents and Settings\...\_mail.htm
TagsNo tags attached.

Activities

obones

2006-08-31 12:50

administrator   ~0010054

How does a regular TIniFile deal with this?
I suspect it does not, and as such it is one more reason to move to XML or Registry.

ZENsan

2006-09-01 00:17

reporter   ~0010055

Maybe it will be good to add property value type like "HexString"?
And when storing string simply convert it to Heaxadecimal string and when reading - convert it to normal string..

INI file is verry friendly for users (higher then operators) - and if some problems they can open and change some values - and this is not too dangerous as changing XML file by user.

Registry is not good at all in some situations - especially when user wants to launch program with different settings at the same time (with INI file he must simply copy ini file and executable to another place).

Thanks for your tenderness.

jfudickar

2006-09-01 06:44

developer   ~0010056

But HexString is also not realy customer friendly.

ZENsan

2006-09-11 10:26

reporter   ~0010108

Ok, close this issue and forget it!
Thanks for cooperation.

obones

2006-09-12 01:53

administrator   ~0010112

You can always use the "Encode" events to do your own replacements, or as suggested, move to XML which is not so bad on the "user friendliness" point of view.

Issue History

Date Modified Username Field Change
2006-08-31 08:09 ZENsan New Issue
2006-08-31 12:50 obones Note Added: 0010054
2006-08-31 12:50 obones Status new => feedback
2006-09-01 00:17 ZENsan Note Added: 0010055
2006-09-01 06:44 jfudickar Note Added: 0010056
2006-09-11 10:26 ZENsan Note Added: 0010108
2006-09-12 01:53 obones Status feedback => resolved
2006-09-12 01:53 obones Resolution open => no change required
2006-09-12 01:53 obones Assigned To => obones
2006-09-12 01:53 obones Note Added: 0010112