Viva-con-Agua / drops

Implements an user management service for a microservice application, supporting Viva con Agua in organizing volunteering activities.
GNU General Public License v3.0
1 stars 1 forks source link

Delete failed #333

Closed johannsell closed 5 years ago

johannsell commented 5 years ago

One user has reported that s/he could not delete their user. One suggestion: It could be, that we have an error using the Pool 1 API. Thus, on error, Drops maybe not deletes a user.

deinelieblings commented 5 years ago

Why drops don't delete a User if Pool1 Api is not working?

johannsell commented 5 years ago

Yes, you're right, that is not the problem. I thought that Drops maybe waits until the Pool 1 has successfully deleted the entry, but looking at https://github.com/Viva-con-Agua/drops/blob/ffe6a24f8f8694f10f0317af7d52da89a12f55f1/app/services/UserService.scala#L129 you can see: It's the other way around.

deinelieblings commented 5 years ago

The problem was the OauthTokens, I forgot to consider them