-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function parameter lost #15
Comments
Seems they are not active ( |
Try calling |
That works.
|
OK, use that as a workaround for now. I hope to find enough time to rework the parameter handling this week. I'll keep you posted. Thanks for testing 👍 |
Maybe just call NO problem. Testing is important to get it into production asap ;-) |
Yes, the plan is to have a |
Can't really reproduce this one either... all parameters seem to be active by default. |
Hmm...cant provide you more then the trace and the used code currently... |
No problem. |
the status of the parameters is now saved in a HashTable and the function handle is now created in invoke(), not getFunction(). this enables reuse of the RemoteFunction object. all parameters are active by default, so RfcSetParameterActive is only called if the user deactivated a parameter. we cant call it for every parameter and set it to active as this causes really strange errors and segfaults if the FM throws an ABAP exception (eg use RFC_RAISE_ERROR test 043 to reproduce - when forcing parameters active, the test segfaults because the exception is ignored and the code tries to fetch a return value for CSTRING). there might be a better solution, but for now it works. refs #15
I can't really reproduce your issue. For me, all parameters are active by default. Calling |
all parameters that are passed as arguments to invoke should be active by default. refs #15
OK, the new implementation now makes sure that all parameters passed as arguments to |
fixed in 0.7.0 |
It seems that the function invoke parameters are lost
PHP7
Trace
PHP5
Trace
The text was updated successfully, but these errors were encountered: