View Issue Details

IDProjectCategoryView StatusLast Update
0005833JEDI VCL00 JVCL Componentspublic2012-09-10 14:15
ReportercadskyAssigned ToAHUser 
Status resolvedResolutionfixed 
Product Version3.40 
Target VersionFixed in Version3.46 
Summary0005833: TJvMemoryData fails to store empty string. You will always get null
  JvMemoryData1['Field1'] := ''; // TStringField or TWideStringField
  Assert(JvMemoryData1['Pole1']=''); // Assertion failure

  object JvMemoryData1: TJvMemoryData
    Left = 144
    Top = 152
    object JvMemoryData1Field1: TStringField
      FieldName = 'Field1'
TagsNo tags attached.



2012-03-15 21:07

developer   ~0019672

Fixed in svn revision 14275.
I've added a new property TrimEmptyString: Boolean default True. If you set it to False, the JvMemoryData will return the string value that you put into it. I have made True the default because this was the behavior of the component for years and user code may depend on that Oracle-like behavior.

Issue History

Date Modified Username Field Change
2012-03-15 14:23 cadsky New Issue
2012-03-15 21:07 AHUser Note Added: 0019672
2012-03-15 21:07 AHUser Status new => resolved
2012-03-15 21:07 AHUser Fixed in Version => Daily / SVN
2012-03-15 21:07 AHUser Resolution open => fixed
2012-03-15 21:07 AHUser Assigned To => AHUser
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46