-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/retro participation #115
Conversation
This looks great, but there's a weird bug in that, if a user had a session before the user persistence story got merged, this persistence breaks in the retros controller, because the user on session isn't backed up by a persisted record, and therefore no user is available to pluck the example: |
@vanderhoop Regarding the issue you mentioned about an existing session without a record in the users table: What if we add a check somewhere to kill their session when a db record doesn't exist? This is an edge case, so we could remove the code later on. |
@pulsedemon that's a good thought; we really just need a bridge until all the sessions that could have been introduced expire. let me sleep on it; we might be overthinking the problem. |
yo @pulsedemon! yo @Zanadar to handle this edge case, the simplest thing we can do is to NOT persist a participation when there is no user returned by Get that in, and we can merge this puppy. |
@vanderhoop if we do that, then once the email stuff is merged in, those users will be left out of the emails. |
That's fine for now.
…On Wed, Apr 26, 2017 at 8:56 AM Michael Squashic ***@***.***> wrote:
@vanderhoop <https://github.com/vanderhoop> if we do that, then once the
email stuff is merged in, those users will be left out of the emails.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#115 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AELvVd4YOhTaUoCfuMkP1JUzp6lj9gtoks5rz1sKgaJpZM4NIAuE>
.
|
@pulsedemon the reason that's okay for now is that those users aren't getting emails right now anyway. |
@pulsedemon @Zanadar Shit. Didn't realize this lacked tests for the |
…ro, a participation is persisted
mergin'! |
No description provided.