|
|
|
The issue refers only to the Group Servant life-cycle, there is no problem when the standalone channel is used. Also, the scenario that triggers the issue in the servant requires you to click on the "Add Members" button as I described above. The issue appeared while using the group servant in a custom channel. I was adding/removing members in a group. If I clicked on "Add Members", cancelled my selection and tried to exit the servant would not answer the isFinished() call correctly.
I looked at the code of the group servant and it looks like the CancelSelection command also requires to clear the parentId flag the same way the DoneWithSelection command does. I have already made a fix and tested it on my local box. As I mentioned you need to both be in group manager servant mode and click on the add members button. The scenarios you mention do no satisfy these conditions, so I am not surprised you could not duplicate the issue.
Re-opening this issue because it does not appear that the reporter believes the issue is resolved.
Andreas, could you post a patch representing the fix you made on your local box?
I just added the following line in the CancelSelection class:
sessionData.staticData.remove("groupParentId"); The line was added at the end of the if clause where parentId is not null. The DoneWithSelection command does the same when you run the group manager in servant mode (parentId not null). It seems that it was ommited for the CancelSelection command. I'm confused.
> The DoneWithSelection command does the same when you run the group manager in servant mode (parentId not null). But DoneWithSelection states:
Is AddMembers only supposed to appear when ChannelManager is the master channel? When I mentioned the following:
> The DoneWithSelection command does the same when you run the group manager in servant mode (parentId not null). I was referring to the following fix: > sessionData.staticData.remove("groupParentId"); DoneWithSelection clears the flag but CancelSelection omits to do so. I applied the fix that was given in the comments.
| |||||||||||||||||||||||||||||||||||||||||||||||
Could you please explain how we can reproduce this problem? Can it be produced on the quickstart?