unit: OtlCommon
There is a bug in TOmniValueContainer.Insert().
It does not change ovcCount, even it is nessesary.
Bugfix:
procedure TOmniValueContainer.Insert(paramIdx: integer; const value: TOmniValue);
begin
if paramIdx > High(ovcValues) then
Grow(paramIdx);
if paramIdx >= ovcCount then
ovcCount := paramIdx + 1;
ovcValues[paramIdx] := value;
end; { TOmniValueContainer.Insert }