View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004822 | JEDI VCL | 00 JVCL Components | public | 2009-06-15 16:49 | 2009-06-15 18:25 |
Reporter | Tom Macbeth | Assigned To | AHUser | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.36 | ||||
Target Version | Fixed in Version | 3.37 | |||
Summary | 0004822: JvStrings.HasStringValue is broken | ||||
Description | JvStrings.HasStringValue function never returns True. It should look like this: function HasStrValue(const AText, AName: string; var AValue: string): Boolean; var P, P2, L: Integer; S: string; begin Result := False; L := Length(AName) + 2; P := PosText(AName + '="', AText); if P = 0 then Exit; P2 := PosStr('"', AText, P + L); if P2 = 0 then Exit; S := Copy(AText, P + L, P2 - (P + L)); AValue := SysUtils.StringReplace(S, '~~', Cr, [rfReplaceAll]); Result := True; // <- This must be True here! | ||||
Additional Information | This was originally reported as issue 0002975, but it was not fixed. The JVCL library only uses this function within the JvStrings unit. These three functions are affected: o GetFloatValue o GetHTMLColorValue o GetStrValue | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-06-15 16:49 | Tom Macbeth | New Issue | |
2009-06-15 18:25 | AHUser | Note Added: 0015675 | |
2009-06-15 18:25 | AHUser | Status | new => resolved |
2009-06-15 18:25 | AHUser | Fixed in Version | => Daily / SVN |
2009-06-15 18:25 | AHUser | Resolution | open => fixed |
2009-06-15 18:25 | AHUser | Assigned To | => AHUser |