cancel
Showing results for 
Search instead for 
Did you mean: 

AuthorityService.addAuthority only successful on 4th try

julianr
Champ in-the-making
Champ in-the-making
Hi folks,

I've run into a problem while adding users to groups via a custom action. I'm calling

AuthorityService.addAuthority( groupName, username ) ;

which returns without any errors, but only works after every 4th call. (Note that it does work, but only every 4th try.) Similarly, if I go into the web client's group admin screen and click the "remove user" button, the user is only removed after the 4th click. I know that my action is being called synchronously, so there must be some other queue somewhere that is holding the request, but I can't find it. Does anyone know what's causing this and how I can get around it?

Thanks!
1 REPLY 1

julianr
Champ in-the-making
Champ in-the-making
UPDATE: I deleted the groups (took 4 tries each in the web client) and recreated them via my custom action. Now, suddenly everything works the way it should – users can be added and removed on the first try. There were no changes to the code or configuration, just delete and recreate. I'm at a loss…