mlspp icon indicating copy to clipboard operation
mlspp copied to clipboard

Removing members

Open emilmarstrander opened this issue 2 years ago • 1 comments

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();

emilmarstrander avatar Aug 13 '23 15:08 emilmarstrander

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).

bifurcation avatar Dec 15 '23 17:12 bifurcation