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

Removing members #358

Open
emilmarstrander opened this issue Aug 13, 2023 · 1 comment
Open

Removing members #358

emilmarstrander opened this issue Aug 13, 2023 · 1 comment

Comments

@emilmarstrander
Copy link

I have a problem when removing a member in a group of 2. I get Malformed UpdatePath as an error message. It seems to only happen when removing the first member in the tree. It also happens when a larger group removes members reducing the group to a single member. I am using the following code for the removal process:
proposal = session.remove(0);
session.handle(proposal);
session.commit();

@bifurcation
Copy link
Contributor

It would be helpful to have more detail in your use case here. One thing that can be handy is to add a case to test/session.cpp reproducing your error.

I think you may hit this situation if a member tries to remove themself. That operation is forbidden by the protocol, so if that's the situation is where this arises, then the error is correct (even if it could be more informative).

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

2 participants