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

RSR should notify (always) if service has mismatched inst vars #146

Open
ericwinger opened this issue Feb 13, 2024 · 0 comments
Open

RSR should notify (always) if service has mismatched inst vars #146

ericwinger opened this issue Feb 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ericwinger
Copy link
Member

In this case, I had a client service defined,

RowanAutoCommitService {autoCommit postUpdateBlock}
    RowanAutoCommitServiceClient {inCommand}

But the server service superclass wasn't identical

RowanAutoCommitService {autoCommit }
    RowanAutoCommitServiceServer {}

The incorrect inst vars is a bug in my code but finding it was difficult.

RSR didn't throw an error or anything that I could find. Services were sent to RSR but not received, as logging showed. Other services with properly defined inst vars were received just fine. I only chanced upon the problem. Pushing down postUpdateBlock to the client subclass fixed the problem.

Although I think it is supposed already, RSR should notify you if you have mismatched inst vars.

@ericwinger ericwinger added the bug Something isn't working label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants