Removing members
emilmarstrander opened this issue · 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();
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).