-
Notifications
You must be signed in to change notification settings - Fork 13.5k
CROWD sync should not be interrupted when user not found #12929
Copy link
Copy link
Closed
Description
Description:
Users in CROWD sometimes changes. That's being said, if for example user get new E-Mail address then CROWD Sync fails and next accounts are not synced.
Steps to reproduce:
- Hard because you need to have Crowd server
- You may temporary throw exception as in https://github.com/RocketChat/Rocket.Chat/blob/develop/packages/rocketchat-crowd/server/crowd.js#L159 for example in 3rd iteration of
users.forEachfor debugging
Expected behavior:
- Warning about user reported,
- But loop must not be interrupted.
Actual behavior:
- An error is reported
- Loop interrupted, no more users synced.
Server Setup Information:
- Version of Rocket.Chat Server: 0.72
- Operating System: not relevant
- Deployment Method: not relevant
- Number of Running Instances: not relevant
- DB Replicaset Oplog: not relevant
- NodeJS Version: 8.11
- MongoDB Version: not relevant
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels