1
0
-1

Hi there, I am trying to execute the following code

user = new UserBuilder("Staff")
.setLoginName("Test Login")
.removeRoleName("Some Role")
.addOrgName("Some Org")
.createOrUpdate()

but keep getting java.util.ConcurrentModificationException. Are there any tips for removing a role from a user programatically?

 

  1. Malcolm Edgar

    Hi Diana,

    That sounds like a bug, can you please add the error stacktrace you are seeing. Also what version of TM are you developing on?

    regards Malcolm Edgar

  2. Malcolm Edgar

    Great, thanks for the feedback.  

    Can you click on the "Accept answer" link so we can track this issue has having been completed.

    regards Malcolm

CommentAdd your comment...

2 answers

  1.  
    1
    0
    -1

    Hi Diana,

    This issue (TPD-4594) is fixed in the TM 5.0.5 release which will be released soon.

    regards Malcolm 

      CommentAdd your comment...
    1.  
      1
      0
      -1

      Hi Malcolm Edgar I can confirm that a patch has been applied to our version of TM and this now works. Regards, Diana

        CommentAdd your comment...