View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006749 | JEDI VCL | 02 Installation | public | 2022-05-06 13:15 | 2023-11-11 19:19 |
Reporter | oro06 | Assigned To | AHUser | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | Daily / GIT | |||
Summary | 0006749: parameter missing (2 instead of 3) in copy function in JVCLInstall/DelphiData.pas Line 897 | ||||
Description | Win7, Fresh D7 install, with fresh JCL+JVCL install (git repo of today/220506) running jcl install went fine then running jvcl install give this error : >install.bat [Compiling installer...] Using Delphi 7 Borland Delphi Version 15.0 Copyright (c) 1983,2002 Borland Software Corporation DelphiData.pas(897) Error: Not enough actual parameters Utils.pas(83) Fatal: Could not compile used unit 'DelphiData.pas' line 897 is CandidateEdition := Copy(KeyNames[i], Length(BDS19UpCoreCommonFilesPrefix) + 1); 2 params instead of 3 : index or length is missing | ||||
Steps To Reproduce | Win7, Fresh D7 install, with fresh JCL+JVCL install (git repo of today/220506) then install jvcl | ||||
Tags | No tags attached. | ||||
|
from radstudio documentation https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Copy: function Copy(S: <string or dynamic array>; Index: Integer; Count: Integer): string; there should be 3 parameters |
|
line 897 is CandidateEdition := Copy(KeyNames[i], Length(BDS19UpCoreCommonFilesPrefix) + 1); change it with CandidateEdition := Copy(KeyNames[i], Length(BDS19UpCoreCommonFilesPrefix) + 1, MaxInt); |
|
Fixed in git main branch. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-06 13:15 | oro06 | New Issue | |
2022-05-10 10:50 | oro06 | Note Added: 0022029 | |
2022-06-01 10:40 | delphichem1 | Note Added: 0022032 | |
2023-11-11 19:19 | AHUser | Assigned To | => AHUser |
2023-11-11 19:19 | AHUser | Status | new => resolved |
2023-11-11 19:19 | AHUser | Resolution | open => fixed |
2023-11-11 19:19 | AHUser | Fixed in Version | => Daily / GIT |
2023-11-11 19:19 | AHUser | Note Added: 0022051 |