Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Missing SRP_FastArray related Deployment Records?

SRP Utilities v1.5.9

handle = SRP_FastArray('Create', "one":@vm:"two") - works
SRP_FastArray_Replace(handle, 2, 1, 0, "two") - works
SRP_FastArray('Replace', handle, 2, 2, 0, 'twotwo') - crash
aVar = SRP_FastArray('GetVariable', handle) - works
SRP_FastArray('Release', handle) - works

The "crash" I get is
SYS100: Error loading program
"SRPUTILITIESAPI_DYNAMICARRAYREPLACE".

In the Repository (Stored Procedure Executables):
SRPUTILITIESAPI_DYNAMICARRAYRELEASE - exists
SRPUTILITIESAPI_DYNAMICARRAYREPLACE - does not exist

SYSOBJ records:
$SRPUTILITIESAPI_DYNAMICARRAYRELEASE - exists
$SRPUTILITIESAPI_DYNAMICARRAYREPLACE - does not exist
$SRP_FASTARRAY_REPLACE - exists

Don gave me a link to v1.6 RC1 in zip format (I was having trouble logging into the forum at that stage).
I unzipped it, did not install it, but attached the SYSUPGRADE file and examined its contents.
SYSUPGRADE, SYSOBJ/$SRP_FASTARRAY_xxxx records (esp REPLACE, INSERT) are there
SYSUPGRADE, SYSOBJ/$SRPUTILITIESAPI_DYNAMICARRAY_xxxx records (esp REPLACE, INSERT) are missing
SYSUPGRADE, SYSREPOS/SYSPROG*STPROCEXE**SRP_FASTARRAY_xxxx records (esp REPLACE, INSERT) are there
SYSUPGRADE, SYSREPOS/SYSPROG*STPROCEXE**SRPUTILITIESAPI_DYNAMICARRAY_xxxx (esp REPLACE, INSERT) are missing

SRP_FastArray('Replace', handle, 2, 1, 0, 'two') - crashes
SRP_FastArray_Replace(handle, 2, 1, 0, 'two') - works

So I think there are some records missing from the deployment files.
There is a work-around by using the raw methods, so this is not urgent - more a heads-up.
I think this is a fair assessment of what's happening.
Please let me know if I need to try something else.
Kind regards,
Matt Jones.

Comments

Sign In or Register to comment.