Skip to content
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

Call to different PHP services always requests operations on the first service used #23

Open
kuba775 opened this issue Jul 29, 2012 · 0 comments

Comments

@kuba775
Copy link

kuba775 commented Jul 29, 2012

Hi, when I am starting my app, I am calling a set of different custom PHP services (1 - UserService, 2 - ConfigurationService, 3 - DatabasService). My first service call is "UserService.verifyLoggedIn", but when I am trying to access methods on the second and third service (for example "ConfigurationService.readInitSetupCompletion"), the app sends request to the first service used although with correct method names already ("UserService.readInitSetupCompletion").

I tried to debug it and found that problem is in RemoteDelegate.as near line 118. You have there TODO task to examine the function with concurrently calling other services. I don't know what exactly you try to do there, but for my needs was just good enough to add this line concurrentRemoteObject.source = service; just before the operation assignment.

If you are trying to protect the concurrent ROs from changing, I may suggest you can keep them in a collection and append new ROs if they weren't found in the collection when needed.

Hope that helped.
Good luck and thank you for creating and sharing this good time saving tool,
Jakub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant